From 8050ba3367e3f56aa6c4031f54576b8607f475df Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 14 Nov 2022 00:17:19 +0100 Subject: [PATCH] Add treesitter languages --- home/neovim/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/neovim/init.lua b/home/neovim/init.lua index 1fd10c1..caa15e5 100644 --- a/home/neovim/init.lua +++ b/home/neovim/init.lua @@ -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")