Skip to content

Commit

Permalink
feat: lua 3rd party language servers #3553
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 authored Jan 13, 2025
1 parent 8815752 commit ee56b73
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lua/lspconfig/configs/selene3p_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 = { '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
]],
},
}
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', 'stylua.toml'),
},
docs = {
description = [[
https://github.com/antonk52/lua-3p-language-servers
3rd party Language Server for Stylua lua formatter
]],
},
}

0 comments on commit ee56b73

Please sign in to comment.