From 5f74606a528fbb47944621cc85f13e73d564feff Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 19 Jun 2024 17:56:44 +0300 Subject: Added nvim config --- .config/nvim/lua/plugins/treesitter.lua | 12 ++++++++++++ 1 file changed, 12 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..44c98c0 --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,12 @@ +return { + 'nvim-treesitter/nvim-treesitter', + build = ":TSUpdate" , + config = function() + local config = require("nvim-treesitter.configs") + config.setup({ + auto_install = true, + highlight = { enable = true }, + indent = { enable = true } + }) + end +} -- cgit v1.3.1