From b90081b22ab30bde3794ccccee07f834fb849b46 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 10 Apr 2023 19:24:17 +0100 Subject: [PATCH] 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 --- nvim/lua/plugins/nvim-treesitter.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nvim/lua/plugins/nvim-treesitter.lua 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", + }, + }, + }, +} -- 2.48.1