diff options
| author | Blista Kanjo | 2023-06-23 08:37:41 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-06-23 08:37:41 -0400 |
| commit | 2c12230dfbd310028cb3e31440e555acaeacf427 (patch) | |
| tree | 1d0d9f54d8911642525e4ce3901bee328c7dd372 /.config/nvim/lua/tree.lua | |
| parent | c5b5f1ff049edbca03a772b561c08037ac3b1528 (diff) | |
feat: nvim-treesitter
Diffstat (limited to '.config/nvim/lua/tree.lua')
| -rw-r--r-- | .config/nvim/lua/tree.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.config/nvim/lua/tree.lua b/.config/nvim/lua/tree.lua new file mode 100644 index 0000000..d293c33 --- /dev/null +++ b/.config/nvim/lua/tree.lua @@ -0,0 +1,26 @@ +local status_ok, configs = pcall(require, "nvim-treesitter.configs") +if not status_ok then + return +end + +configs.setup { + ensure_installed = { + "bash", + "lua", + "vim", + "vimdoc", + }, + + sync_install = false, + auto_install = true, + ignore_install = { "" }, + highlight = { + enable = true, + disable = { "" }, + additional_vim_regex_highlighting = false, + }, + indent = { + enable = true, + disable = { "yaml" }, + }, +} |
