diff options
Diffstat (limited to '.config/nvim/lua/pluginsconfig/nvim-lspconfig.lua')
-rw-r--r-- | .config/nvim/lua/pluginsconfig/nvim-lspconfig.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/pluginsconfig/nvim-lspconfig.lua b/.config/nvim/lua/pluginsconfig/nvim-lspconfig.lua new file mode 100644 index 0000000..746ccf6 --- /dev/null +++ b/.config/nvim/lua/pluginsconfig/nvim-lspconfig.lua @@ -0,0 +1,10 @@ +require'lspconfig'.lua_ls.setup { + settings = { + Lua = { + diagnostics = { + -- Get the language server to recognize the `vim` global + globals = {'vim'}, + }, + }, + }, +} |