Skip to content

Commit

Permalink
feat: add stylua3p support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed Jan 11, 2025
1 parent bbe8ae2 commit 5cfc1ac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lua/lspconfig/configs/stylua3p_ls.lua
Original file line number Diff line number Diff line change
@@ -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
]],
},
}

0 comments on commit 5cfc1ac

Please sign in to comment.