From: Samir Benmendil Date: Mon, 10 Apr 2023 18:24:17 +0000 (+0100) Subject: nvim: override treesitter file support X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/b90081b22ab30bde3794ccccee07f834fb849b46 nvim: override treesitter file support This has been done now because of [LazyVim#524] and replaces `help` with `vimdoc`. While I was there, I also added `c` and removed a few I've never heard of. [LazyVim#524]: https://github.com/LazyVim/LazyVim/issues/524 --- diff --git a/nvim/lua/plugins/nvim-treesitter.lua b/nvim/lua/plugins/nvim-treesitter.lua new file mode 100644 index 0000000..8b87f09 --- /dev/null +++ b/nvim/lua/plugins/nvim-treesitter.lua @@ -0,0 +1,23 @@ +return { + -- add more treesitter parsers + { + "nvim-treesitter/nvim-treesitter", + opts = { + -- overwrites the settings from LazyVim + ensure_installed = { + "bash", + "c", + "html", + "json", + "lua", + "markdown", + "markdown_inline", + "python", + "regex", + "vim", + "vimdoc", + "yaml", + }, + }, + }, +}