aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-06-02 14:50:54 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-06-02 14:50:54 +0200
commit1d1ecaf9392ee3a2e113ac24786a26718218c8e4 (patch)
tree853eee63d7df5413d4f9286988175e1f31115c7b /nvim
parent1147b7e7f9a3563f711767fdd2e42b320fe19172 (diff)
downloaddotfiles-1d1ecaf9392ee3a2e113ac24786a26718218c8e4.tar.gz
add treesitter
Diffstat (limited to 'nvim')
-rw-r--r--nvim/lua/plugins/init.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua
index 54494b1..306e9a2 100644
--- a/nvim/lua/plugins/init.lua
+++ b/nvim/lua/plugins/init.lua
@@ -7,5 +7,16 @@ return {
},
{
"jamessan/vim-gnupg"
- }
+ },
+ {
+ "nvim-treesitter/nvim-treesitter",
+ config = function()
+ require'nvim-treesitter.configs'.setup{
+ ensure_installed = {"c", "cpp", "lua", "vim", "bash", "make", "rust"},
+ highlight = {
+ enable = true
+ }
+ }
+ end
+ }
}