diff --git a/lua/lspconfig/configs/stylua3p_ls.lua b/lua/lspconfig/configs/stylua3p_ls.lua new file mode 100644 index 0000000000..37de55cd97 --- /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'), + }, + docs = { + description = [[ +https://github.com/antonk52/lua-3p-language-servers + +3rd party Language Server for Stylua lua formatter +]], + }, +}