From dc17ab2fb051efceafddc3b97ebe9f67c775e9b7 Mon Sep 17 00:00:00 2001 From: mhsn Date: Wed, 22 Jan 2025 00:44:19 +0000 Subject: split plugins into separate files and other changes --- lua/plugins/nvim-treesitter.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/plugins/nvim-treesitter.lua (limited to 'lua/plugins/nvim-treesitter.lua') diff --git a/lua/plugins/nvim-treesitter.lua b/lua/plugins/nvim-treesitter.lua new file mode 100644 index 0000000..5fc91d5 --- /dev/null +++ b/lua/plugins/nvim-treesitter.lua @@ -0,0 +1,14 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + require("nvim-treesitter.configs").setup({ + ensure_installed = { "lua", "python", "rust" }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, + }, +} -- cgit v1.2.3