diff options
| author | JackJ30 <jackqjamison@gmail.com> | 2025-05-02 12:12:22 -0400 |
|---|---|---|
| committer | JackJ30 <jackqjamison@gmail.com> | 2025-05-02 12:12:22 -0400 |
| commit | f974ca81bab834105fc490792288aded773f3e6c (patch) | |
| tree | 7f5d4f9c712c5d4f3f26b3da4b43f2c4e2b398d1 /.config/nvim/lua/plugins/treesitter.lua | |
| parent | 988896c90c1011ac588f4c3e7746b8bfcf35bf41 (diff) | |
started nvim config
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/treesitter.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..6ac96af --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,27 @@ +return { + 'nvim-treesitter/nvim-treesitter', + name = 'treesitter', + build = ':TSUpdate', + config = function() + require('nvim-treesitter.configs').setup({ + ensure_installed = { + "vimdoc", "c", "lua", "cpp", + "bash", "css", "glsl", "nasm", "haskell", + "hyprlang", "zig", + }, + sync_install = false, + + auto_install = true, + + indent = { + enable = true + }, + + highlight = { + enable = true, + + additional_vim_regex_highlighting = { "markdown" }, + }, + }) + end +} |
