Commit c045b4f 1 parent b9a7944 commit c045b4f Copy full SHA for c045b4f
File tree 1 file changed +19
-17
lines changed
1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -14,23 +14,25 @@ The LSP integration will depend on the vim plugin you're using
14
14
* Configure settings via [ neovim/nvim-lspconfig] ( https://github.com/neovim/nvim-lspconfig )
15
15
``` lua
16
16
require ' lspconfig' .jsonnet_ls .setup {
17
- ext_vars = {
18
- foo = ' bar' ,
19
- },
20
- formatting = {
21
- -- default values
22
- Indent = 2 ,
23
- MaxBlankLines = 2 ,
24
- StringStyle = ' single' ,
25
- CommentStyle = ' slash' ,
26
- PrettyFieldNames = true ,
27
- PadArrays = false ,
28
- PadObjects = true ,
29
- SortImports = true ,
30
- UseImplicitPlus = true ,
31
- StripEverything = false ,
32
- StripComments = false ,
33
- StripAllButComments = false ,
17
+ settings = {
18
+ ext_vars = {
19
+ foo = ' bar' ,
20
+ },
21
+ formatting = {
22
+ -- default values
23
+ Indent = 2 ,
24
+ MaxBlankLines = 2 ,
25
+ StringStyle = ' single' ,
26
+ CommentStyle = ' slash' ,
27
+ PrettyFieldNames = true ,
28
+ PadArrays = false ,
29
+ PadObjects = true ,
30
+ SortImports = true ,
31
+ UseImplicitPlus = true ,
32
+ StripEverything = false ,
33
+ StripComments = false ,
34
+ StripAllButComments = false ,
35
+ },
34
36
},
35
37
}
36
38
```
You can’t perform that action at this time.
0 commit comments