We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb1193 commit 7d21113Copy full SHA for 7d21113
nvim/.config/nvim/lua/lsp/init.lua
@@ -57,7 +57,16 @@ M.SERVER_CONFIGURATIONS = {
57
settings = {
58
Lua = {
59
format = { enable = false },
60
- workspace = { checkThirdParty = false },
+ workspace = {
61
+ checkThirdParty = false,
62
+ -- Make the server aware of Neovim runtime files
63
+ library = vim.api.nvim_get_runtime_file("", true),
64
+ },
65
+
66
+ diagnostics = {
67
+ -- Get the language server to recognize the `vim` global
68
+ globals = { "vim" },
69
70
-- Do not send telemetry data containing a randomized but unique identifier
71
telemetry = { enable = false },
72
},
0 commit comments