diff options
author | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-03 11:02:19 +0400 |
---|---|---|
committer | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-03 11:02:19 +0400 |
commit | 72bac3930e8442faaea834724c2ef80440c505ed (patch) | |
tree | 0910c73f912cc9f747921f408decbd73a97fecb9 /.config/nvim/lua/module/treesitter.lua | |
parent | aa8c3484100b2b7e84a7aa8c7e416dde484b25ee (diff) |
add neovim config
Diffstat (limited to '.config/nvim/lua/module/treesitter.lua')
-rw-r--r-- | .config/nvim/lua/module/treesitter.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/nvim/lua/module/treesitter.lua b/.config/nvim/lua/module/treesitter.lua new file mode 100644 index 0000000..e04b1c1 --- /dev/null +++ b/.config/nvim/lua/module/treesitter.lua @@ -0,0 +1,21 @@ +local treesitter = require "nvim-treesitter.configs" + +treesitter.setup{ + ensure_installed = { + "c", + "lua", + "vim", + "vimdoc", + "query", + "javascript", + "typescript", + "json", + "python" + }, + sync_install = false, + auto_install = true, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, +} |