From dc839e971ad6a724bc99bccc6dfaa11ee8a1eaa9 Mon Sep 17 00:00:00 2001 From: Cryxtalix Date: Fri, 8 Nov 2024 21:58:55 +0800 Subject: Init gnu stow --- .config/nvim/lua/plugins/treesitter.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/nvim/lua/plugins/treesitter.lua (limited to '.config/nvim/lua/plugins/treesitter.lua') diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..778f5a0 --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,13 @@ +-- https://github.com/nvim-treesitter/nvim-treesitter +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + + config = function() + require("nvim-treesitter.configs").setup({ + auto_install = true, + highlight = { enable = true }, + indent = { enable = true }, + }) + end +} -- cgit