We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89f489 commit 345560dCopy full SHA for 345560d
1 file changed
lsp/stylua.lua
@@ -0,0 +1,12 @@
1
+---@brief
2
+---
3
+--- https://github.com/JohnnyMorganz/StyLua
4
5
+--- A deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT, Luau and CfxLua/FiveM Lua
6
+
7
+---@type vim.lsp.Config
8
+return {
9
+ cmd = { 'stylua', '--lsp' },
10
+ filetypes = { 'lua' },
11
+ root_markers = { '.stylua.toml', 'stylua.toml' },
12
+}
0 commit comments