From 8ffda69a16917d01142c6f8721a4652a8c18a3df Mon Sep 17 00:00:00 2001 From: cool-mist Date: Thu, 5 Jun 2025 19:04:09 +0530 Subject: [PATCH] Add treesitter --- init.lua | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 333ddca..c564465 100644 --- a/init.lua +++ b/init.lua @@ -160,7 +160,7 @@ lazy.setup({ config = function() require('notify').setup({ stages = "static", - timeout = 3000, + timeout = 500, max_height = function() return math.floor(V.o.lines * 0.75) end, @@ -211,7 +211,7 @@ lazy.setup({ }, { 'ha', - function() require("harpoon"):list():append() end, + function() require("harpoon"):list():add() end, desc = "[H]arpoon [A]ppend" }, @@ -609,6 +609,33 @@ lazy.setup({ }, + -- Treesitter + { + "nvim-treesitter/nvim-treesitter", + branch = 'master', + lazy = false, + build = ":TSUpdate", + opts_extend = { "ensure_installed" }, + opts = { + ensure_installed = { + "rust", + "lua", + "vim", + "vimdoc", + "ruby", + "markdown", + "bash", + "c_sharp", + "ruby", + "html", + "yaml", + "text", + "gitignore", + "markdown_inline" + } + } + }, + -- Shows a popups with the keybindings that are available after a small delay { "folke/which-key.nvim",