From 39d19909525940cc16695ad3e7fcdb5812f744ac Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 6 Jul 2024 20:07:41 +0300 Subject: Neovim: started rework on the conifg, changed a bunch of stuff --- .config/nvim/lua/custom/plugins/treesitter.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/nvim/lua/custom/plugins/treesitter.lua (limited to '.config/nvim/lua/custom/plugins/treesitter.lua') diff --git a/.config/nvim/lua/custom/plugins/treesitter.lua b/.config/nvim/lua/custom/plugins/treesitter.lua new file mode 100644 index 0000000..d869a5e --- /dev/null +++ b/.config/nvim/lua/custom/plugins/treesitter.lua @@ -0,0 +1,13 @@ +return { + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate', + config = function() + ---@type userdata + require('nvim-treesitter.configs').setup({ + -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally + auto_install = true, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, +} -- cgit v1.3.1