diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-08-08 23:19:09 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-08-08 23:19:09 +0300 |
commit | c84f10f37e2641c7a0da38bd8375dd0395e3a890 (patch) | |
tree | 78d8228e6d88fa993f6f214b18e78ae14212bc63 /dotfiles/.config/nvim/init.vim | |
parent | 4df4d56437f705ec770c5768263f410ffd8d5a69 (diff) | |
download | vimrice-c84f10f37e2641c7a0da38bd8375dd0395e3a890.tar.gz vimrice-c84f10f37e2641c7a0da38bd8375dd0395e3a890.zip |
add lsp and treesitter zig configs
Diffstat (limited to 'dotfiles/.config/nvim/init.vim')
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 4d1b95c..ff48a91 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -279,7 +279,7 @@ call plug#end() 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" }, highlight = { enable = true, disable = { "c", "cpp", "vim", "make" } }} + 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 |