diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/configs/selene3p_ls.lua | 16 | ||||
| -rw-r--r-- | lua/lspconfig/configs/stylua3p_ls.lua | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/selene3p_ls.lua b/lua/lspconfig/configs/selene3p_ls.lua new file mode 100644 index 00000000..ea6377ec --- /dev/null +++ b/lua/lspconfig/configs/selene3p_ls.lua @@ -0,0 +1,16 @@ +local util = require('lspconfig.util') + +return { + default_config = { + cmd = { 'selene-3p-language-server' }, + filetypes = { 'lua' }, + root_dir = util.root_pattern('selene.toml'), + }, + docs = { + description = [[ +https://github.com/antonk52/lua-3p-language-servers + +3rd party Language Server for Selene lua linter +]], + }, +} diff --git a/lua/lspconfig/configs/stylua3p_ls.lua b/lua/lspconfig/configs/stylua3p_ls.lua new file mode 100644 index 00000000..8db0bf85 --- /dev/null +++ b/lua/lspconfig/configs/stylua3p_ls.lua @@ -0,0 +1,16 @@ +local util = require('lspconfig.util') + +return { + default_config = { + cmd = { 'stylua-3p-language-server' }, + filetypes = { 'lua' }, + root_dir = util.root_pattern('.stylua.toml', 'stylua.toml'), + }, + docs = { + description = [[ +https://github.com/antonk52/lua-3p-language-servers + +3rd party Language Server for Stylua lua formatter +]], + }, +} |
