Update delay and adding lsp for rust and typescript
This commit is contained in:
parent
321f051b7c
commit
8dbd122b1a
9
init.lua
9
init.lua
|
|
@ -304,7 +304,7 @@ require('lazy').setup({
|
||||||
opts = {
|
opts = {
|
||||||
-- delay between pressing a key and opening which-key (milliseconds)
|
-- delay between pressing a key and opening which-key (milliseconds)
|
||||||
-- this setting is independent of vim.o.timeoutlen
|
-- this setting is independent of vim.o.timeoutlen
|
||||||
delay = 0,
|
delay = 400,
|
||||||
icons = {
|
icons = {
|
||||||
-- set icon mappings to true if you have a Nerd Font
|
-- set icon mappings to true if you have a Nerd Font
|
||||||
mappings = vim.g.have_nerd_font,
|
mappings = vim.g.have_nerd_font,
|
||||||
|
|
@ -710,6 +710,13 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
rust_analyzer = {},
|
||||||
|
vtsls = {
|
||||||
|
-- cmd = { ... },
|
||||||
|
-- filetypes = { ... },
|
||||||
|
-- capabilities = {},
|
||||||
|
-- settings = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ensure the servers and tools above are installed
|
-- Ensure the servers and tools above are installed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue