I hope this is worth an issue. If not I apologize, but I don't know where to ask this otherwise.
I have noticed, while going through init.lua and following TJ's video on kickstart, that my LSP knows very little about any vim apis. It seems to know some things, like vim.api or vim.lsp. But the more specific, the higher the chance that I get unknown types. For a lot of the commands and functions in the configuration, they definitely work and it's not a problem using them, but the LSP gives me 0 Information about what they are.
It just makes the configuration much harder, because I have no autocomplete on most things.
I have tried upgrading vim, neovim and adding a vim language server. Now I am out of ideas.
To Reproduce
- run
brew install neovim
- checkout kickstart project as documented
- hold
K over vim-specific apis like vim.lsp.buf.hover or vim.api.nvim_create_autocmd
Desktop
- OS: MacOS Sonoma 14.2.1
- Terminal: iTerm or terminal
Neovim Version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"
I hope this is worth an issue. If not I apologize, but I don't know where to ask this otherwise.
I have noticed, while going through
init.luaand following TJ's video on kickstart, that my LSP knows very little about any vim apis. It seems to know some things, likevim.apiorvim.lsp. But the more specific, the higher the chance that I getunknowntypes. For a lot of the commands and functions in the configuration, they definitely work and it's not a problem using them, but the LSP gives me 0 Information about what they are.It just makes the configuration much harder, because I have no autocomplete on most things.
I have tried upgrading vim, neovim and adding a vim language server. Now I am out of ideas.
To Reproduce
brew install neovimKover vim-specific apis likevim.lsp.buf.hoverorvim.api.nvim_create_autocmdDesktop
Neovim Version