diff options
Diffstat (limited to 'common/nvim/after/ftplugin/lua.lua.bak')
| -rwxr-xr-x | common/nvim/after/ftplugin/lua.lua.bak | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/common/nvim/after/ftplugin/lua.lua.bak b/common/nvim/after/ftplugin/lua.lua.bak deleted file mode 100755 index fe9587b..0000000 --- a/common/nvim/after/ftplugin/lua.lua.bak +++ /dev/null @@ -1,35 +0,0 @@ -local lspconfig = require("lspconfig") - -if lspconfig.lua_ls then - lspconfig.lua_ls.setup({ - settings = { - Lua = { - diagnostics = { - -- This is the Lua table for diagnostics settings - globals = { "vim", "use", "_G", "packer_plugins", "P" }, - disable = { - "undefined-global", - "lowercase-global", - "unused-local", - "unused-vararg", - "trailing-space" - }, - }, - workspace = { - -- Points the language server to Neovim's runtime files for auto-completion - library = { - --vim.api.nvim_get_runtime_path(), - --checkThirdParty = false, - vim.env.VIMRUNTIME, - -- Depending on the usage, you might want to add additional paths here. - "${3rd}/luv/library", - "${3rd}/busted/library", - }, - }, - telemetry = { - enable = false, - }, - }, - }, - }) -end |
