diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-06 20:07:41 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-06 20:07:41 +0300 |
| commit | 39d19909525940cc16695ad3e7fcdb5812f744ac (patch) | |
| tree | 8d5ff9c51113eb02333597be8ec240fd150cf83a /.config/nvim/lua/custom/plugins/treesitter.lua | |
| parent | 7166c238e8160fbffc219744b0fc96b96e889bd7 (diff) | |
Neovim: started rework on the conifg, changed a bunch of stuff
Diffstat (limited to '.config/nvim/lua/custom/plugins/treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/treesitter.lua | 13 |
1 files changed, 13 insertions, 0 deletions
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, +} |
