A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/grafana/jsonnet-language-server/commit/c045b4f78315d1e6c41a6ed34b62b799951444ae below:

fix lspconfig setup (#98) · grafana/jsonnet-language-server@c045b4f · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+19

-17

lines changed

Filter options

Expand file treeCollapse 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

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4