add toml, rust support
This commit is contained in:
parent
2d31d7da60
commit
a45cace9f2
|
@ -30,8 +30,9 @@ local servers = {
|
||||||
-- no formatting support
|
-- no formatting support
|
||||||
'vimls', -- vue
|
'vimls', -- vue
|
||||||
-- use vetur
|
-- use vetur
|
||||||
'yamlls'
|
'yamlls', -- no formatting support
|
||||||
-- no formatting support
|
-- sudo pacman -Syu rust-analyzer
|
||||||
|
'rust_analyzer'
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Use an on_attach function to only map the following keys
|
-- Use an on_attach function to only map the following keys
|
||||||
|
@ -147,6 +148,16 @@ require'lspconfig'.sumneko_lua.setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- toml
|
||||||
|
-- 'taplo'
|
||||||
|
-- -- sudo pacman -Syu taplo-cli
|
||||||
|
require'lspconfig'.taplo.setup {
|
||||||
|
on_attach = on_attach,
|
||||||
|
capabilities = capabilities,
|
||||||
|
flags = {debounce_text_changes = 150},
|
||||||
|
cmd = {"taplo", "lsp", "stdio"}
|
||||||
|
}
|
||||||
|
|
||||||
-- null-ls
|
-- null-ls
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
|
|
||||||
|
|
|
@ -255,3 +255,7 @@ PeoplePerHour
|
||||||
OpenCart
|
OpenCart
|
||||||
PrestaShop
|
PrestaShop
|
||||||
Webflow
|
Webflow
|
||||||
|
booleans
|
||||||
|
pothos
|
||||||
|
monstera
|
||||||
|
Heartleaf
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue