Skip to content

Commit d987911

Browse files
docs: update configs.md
skip-checks: true
1 parent 345560d commit d987911

File tree

2 files changed

+52
-4
lines changed

2 files changed

+52
-4
lines changed

doc/configs.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ Nvim by running `:help lspconfig-all`.
303303
- [steep](#steep)
304304
- [stimulus_ls](#stimulus_ls)
305305
- [stylelint_lsp](#stylelint_lsp)
306+
- [stylua](#stylua)
306307
- [stylua3p_ls](#stylua3p_ls)
307308
- [superhtml](#superhtml)
308309
- [svelte](#svelte)
@@ -2345,11 +2346,11 @@ Default config:
23452346
{
23462347
editorInfo = {
23472348
name = "Neovim",
2348-
version = "0.12.0-dev+g0f64f0f5b6"
2349+
version = "0.12.0-dev+ga897cc17a5"
23492350
},
23502351
editorPluginInfo = {
23512352
name = "Neovim",
2352-
version = "0.12.0-dev+g0f64f0f5b6"
2353+
version = "0.12.0-dev+ga897cc17a5"
23532354
}
23542355
}
23552356
```
@@ -11369,6 +11370,33 @@ Default config:
1136911370

1137011371
---
1137111372

11373+
## stylua
11374+
11375+
https://github.com/JohnnyMorganz/StyLua
11376+
11377+
A deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT, Luau and CfxLua/FiveM Lua
11378+
11379+
Snippet to enable the language server:
11380+
```lua
11381+
vim.lsp.enable('stylua')
11382+
```
11383+
11384+
Default config:
11385+
- `cmd` :
11386+
```lua
11387+
{ "stylua", "--lsp" }
11388+
```
11389+
- `filetypes` :
11390+
```lua
11391+
{ "lua" }
11392+
```
11393+
- `root_markers` :
11394+
```lua
11395+
{ ".stylua.toml", "stylua.toml" }
11396+
```
11397+
11398+
---
11399+
1137211400
## stylua3p_ls
1137311401

1137411402
https://github.com/antonk52/lua-3p-language-servers

doc/configs.txt

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,11 +1518,11 @@ Default config:
15181518
{
15191519
editorInfo = {
15201520
name = "Neovim",
1521-
version = "0.12.0-dev+g0f64f0f5b6"
1521+
version = "0.12.0-dev+ga897cc17a5"
15221522
},
15231523
editorPluginInfo = {
15241524
name = "Neovim",
1525-
version = "0.12.0-dev+g0f64f0f5b6"
1525+
version = "0.12.0-dev+ga897cc17a5"
15261526
}
15271527
}
15281528
- on_attach (use "gF" to view): ../lsp/copilot.lua:79
@@ -8388,6 +8388,26 @@ Default config:
83888388
{}
83898389
<
83908390

8391+
------------------------------------------------------------------------------
8392+
stylua
8393+
8394+
https://github.com/JohnnyMorganz/StyLua
8395+
8396+
A deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT, Luau and CfxLua/FiveM Lua
8397+
8398+
Snippet to enable the language server: >lua
8399+
vim.lsp.enable('stylua')
8400+
8401+
8402+
Default config:
8403+
- cmd: >lua
8404+
{ "stylua", "--lsp" }
8405+
- filetypes: >lua
8406+
{ "lua" }
8407+
- root_markers: >lua
8408+
{ ".stylua.toml", "stylua.toml" }
8409+
<
8410+
83918411
------------------------------------------------------------------------------
83928412
stylua3p_ls
83938413

0 commit comments

Comments
 (0)