File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ opts = {}
163163 event = " LazyFile" ,
164164 config = function (_ , _ )
165165 require (" conjure.main" ).main ()
166- require (" conjure.mapping" )[" on-filetype" ]()
167166 end ,
168167 init = function ()
169168 -- print color codes if baleia.nvim is available
Original file line number Diff line number Diff line change @@ -7,6 +7,20 @@ You can enable the extra with the `:LazyExtras` command.
77Plugins marked as optional will only be configured if they are installed.
88:::
99
10+ ### Options
11+
12+ Additional options for this extra can be configured in your [ lua/config/options.lua] ( /configuration/general#options ) file:
13+
14+ ``` lua title="lua/config/options.lua"
15+ -- LSP Server to use for TypeScript.
16+ --- @type " vtsls" | " tsgo"
17+ vim .g .lazyvim_ts_lsp = " vtsls" -- currently the default
18+
19+ -- To use the newer, much faster `tsgo` LSP server, either:
20+ -- * enable the `tsgo` extra, or
21+ -- * set `vim.g.lazyvim_ts_lsp = "tsgo"` in your `options.lua`
22+ ```
23+
1024Below you can find a list of included plugins and their default settings.
1125
1226::: caution
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ opts = {
5252 parameterTypes = { enabled = true },
5353 variableTypes = { enabled = true },
5454 propertyDeclarationTypes = { enabled = true },
55- functionLikeReturnTypes = { enabled = true },
55+ functionLikeReturnTypes = { enabled = false },
5656 enumMemberValues = { enabled = true },
5757 },
5858 },
@@ -95,7 +95,7 @@ opts = {
9595 parameterTypes = { enabled = true },
9696 variableTypes = { enabled = true },
9797 propertyDeclarationTypes = { enabled = true },
98- functionLikeReturnTypes = { enabled = true },
98+ functionLikeReturnTypes = { enabled = false },
9999 enumMemberValues = { enabled = true },
100100 },
101101 },
Original file line number Diff line number Diff line change 425425 LazyVim .format .register (LazyVim .lsp .formatter ())
426426
427427 -- setup keymaps
428- for server , server_opts in pairs (opts .servers ) do
428+ local names = vim .tbl_keys (opts .servers ) --- @type string[]
429+ table.sort (names )
430+ for _ , server in ipairs (names ) do
431+ local server_opts = opts .servers [server ]
429432 if type (server_opts ) == " table" and server_opts .keys then
430433 require (" lazyvim.plugins.lsp.keymaps" ).set ({ name = server ~= " *" and server or nil }, server_opts .keys )
431434 end
You can’t perform that action at this time.
0 commit comments