Add treesitter languages

This commit is contained in:
Valentin Brandl 2022-11-14 00:17:19 +01:00
parent 66708b0c1c
commit 8050ba3367
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -60,7 +60,10 @@ local lsp = require('lsp-zero')
lsp.preset('recommended')
lsp.setup()
require('nvim-treesitter.configs').setup{highlight={enable=true}}
require('nvim-treesitter.configs').setup {
ensure_installed = { "rust", "nix" },
highlight={enable=true},
}
local rt = require("rust-tools")