-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add lua 3rd party language servers #3553
Conversation
default_config = { | ||
cmd = { 'stylua-3p-language-server' }, | ||
filetypes = { 'lua' }, | ||
root_dir = util.root_pattern('.stylua.toml'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can also be a stylua.toml
file (no leading .
): https://github.com/JohnnyMorganz/StyLua#finding-the-configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed
return { | ||
default_config = { | ||
cmd = { 'stylua-3p-language-server' }, | ||
filetypes = { 'lua' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stylua also supports luau
: https://luau.org/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the LS does not currently support it
Per title. These servers make it possible to not need plugins like null-ls or none-ls if those are only used for lua tools.