File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 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
1414 * Configure settings via [ neovim/nvim-lspconfig] ( https://github.com/neovim/nvim-lspconfig )
1515``` lua
1616require ' 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+ },
3436 },
3537}
3638```
You can’t perform that action at this time.
0 commit comments