diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 04:19:28 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 04:19:28 +0200 |
| commit | e95332b121672abaf9fd02692d81869b1e46c02d (patch) | |
| tree | 9dc0def690d7941b18783733045ba091112e9452 /common/config/nvim/lsp/lua_ls.lua | |
| parent | 0f6cee92221dc517bd756083e260dd9373851b82 (diff) | |
| parent | 7ed2303648bf83bb081d9bd863660ebf2344ce47 (diff) | |
| download | dotfiles-e95332b121672abaf9fd02692d81869b1e46c02d.tar.gz dotfiles-e95332b121672abaf9fd02692d81869b1e46c02d.zip | |
Merge commit '7ed2303648bf83bb081d9bd863660ebf2344ce47'
Diffstat (limited to 'common/config/nvim/lsp/lua_ls.lua')
| -rw-r--r-- | common/config/nvim/lsp/lua_ls.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/common/config/nvim/lsp/lua_ls.lua b/common/config/nvim/lsp/lua_ls.lua new file mode 100644 index 0000000..d248e2e --- /dev/null +++ b/common/config/nvim/lsp/lua_ls.lua @@ -0,0 +1,20 @@ +return { + cmd = { "lua-language-server" }, + filetypes = { "lua" }, + root_markers = { ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml" }, + settings = { + Lua = { + diagnostics = { + disable = { "undefined-global", "lowercase-global", "unused-local", "unused-vararg", "trailing-space" }, + globals = { "vim", "use", "_G", "packer_plugins", "P" } + }, + telemetry = { + enable = false + }, + workspace = { + checkThirdParty = false, + library = { "/tmp/.mount_nvimOIpamk/usr/share/nvim/runtime", "${3rd}/luv/library", "${3rd}/busted/library" } + } + } + } +}
\ No newline at end of file |
