add toml, rust support

This commit is contained in:
Ray Elliott 2022-07-24 15:47:00 +01:00
parent 2d31d7da60
commit a45cace9f2
3 changed files with 17 additions and 2 deletions

View File

@ -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")

View File

@ -255,3 +255,7 @@ PeoplePerHour
OpenCart OpenCart
PrestaShop PrestaShop
Webflow Webflow
booleans
pothos
monstera
Heartleaf

Binary file not shown.