From 64fd91d57679a652767509af68b822c1e1646251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 24 Mar 2025 18:33:17 +0300 Subject: treesitter: move config to lua.vim Also install and use protobuf parser. --- dotfiles/.config/nvim/init.vim | 3 --- 1 file changed, 3 deletions(-) (limited to 'dotfiles/.config/nvim/init.vim') diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 2137163..8c7da5e 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -279,9 +279,6 @@ call plug#end() " Treesitter if has('nvim-0.9') - " XXX: neovim's built-in C et al treesitter parsers are better, although - " not ideal either. - lua require('nvim-treesitter.configs').setup{ ensure_installed = { "go", "rust", "python", "lua", "comment", "zig" }, highlight = { enable = true, disable = { "c", "cpp", "vim", "make" } }} set foldmethod=expr set foldexpr=nvim_treesitter#foldexpr() endif -- cgit v1.2.3