From 1e27d1c7b25e4d28a25c0fa2c4e6e33a66b9072e Mon Sep 17 00:00:00 2001 From: moxie Date: Tue, 30 Sep 2025 12:27:44 +0300 Subject: add nvim configs --- .config/nvim/lua/plugins/treesitter.lua | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .config/nvim/lua/plugins/treesitter.lua (limited to '.config/nvim/lua/plugins/treesitter.lua') diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..9d4697d --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,42 @@ +return { + "nvim-treesitter/nvim-treesitter", + config = function() + require("nvim-treesitter.configs").setup { + modules = {}, + ensure_installed = { + "latex", + "markdown", + "markdown_inline", + "vim", + "vimdoc", + "query", + "bash", + "c", + "cpp", + "rust", + "toml", + "python", + "haskell", + "go", + "lua", + "luadoc", + "html", + "css", + "scss", + "json", + "ruby", + "yaml", + "javascript", + "typescript", + "tsx", + }, + sync_install = false, + auto_install = true, + ignore_install = {}, + highlight = { + enable = true, + additional_vim_regex_highlighting = false, + }, + } + end, +} -- cgit v1.2.3