From abf932d721142a35e01a57ab9187ca35896cb237 Mon Sep 17 00:00:00 2001 From: awy Date: Sat, 18 Oct 2025 00:10:58 +0300 Subject: revert --- .config/nvim/lua/plugins/treesitter.lua | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..8ec46fc --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,33 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + branch = 'master', + lazy = false, + build = ":TSUpdate", + config = function() + local config = require("nvim-treesitter.configs") + config.setup({ + ensure_installed = { + "bash", + "lua", + "javascript", + "c", + "cpp", + "json", + "go", + "markdown", + "meson", + "make", + "cmake", + "python", + "rust", + "yaml", + "toml", + "ron", + }, + highlight = { enable = true }, + indent = { enable = true }, + }) + end + } +} -- cgit v1.2.3