diff --git a/doc/configs.md b/doc/configs.md index 924bccc7..c305a1b8 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -7147,6 +7147,8 @@ vim.lsp.config('lua_ls', { checkThirdParty = false, library = { vim.env.VIMRUNTIME, + -- For LSP Settings Type Annotations: https://github.com/neovim/nvim-lspconfig#lsp-settings-type-annotations + vim.api.nvim_get_runtime_file("lua/lspconfig", false)[1], -- Depending on the usage, you might want to add additional paths -- here. -- '${3rd}/luv/library', diff --git a/doc/configs.txt b/doc/configs.txt index cf88f2d7..6770a46e 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -5219,6 +5219,8 @@ settings. checkThirdParty = false, library = { vim.env.VIMRUNTIME, + -- For LSP Settings Type Annotations: https://github.com/neovim/nvim-lspconfig#lsp-settings-type-annotations + vim.api.nvim_get_runtime_file("lua/lspconfig", false)[1], -- Depending on the usage, you might want to add additional paths -- here. -- '${3rd}/luv/library',