diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-08-22 19:43:07 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-08-22 19:43:07 +0100 |
commit | 86c0c3694c93025dfec23f27266905c12f446a4e (patch) | |
tree | 32ee6e5cc84b6e2962a998d788554cb984fb7a8e /.config/nvim/lua/pluginsconfig/nvim-lspconfig.lua | |
parent | 3058d6df77817de298a207d36b8b0871893c417a (diff) |
Initial commit
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'}, + }, + }, + }, +} |