Add treesitter

This commit is contained in:
cool-mist
2025-06-05 19:04:09 +05:30
parent b57029e65d
commit 8ffda69a16
+29 -2
View File
@@ -160,7 +160,7 @@ lazy.setup({
config = function() config = function()
require('notify').setup({ require('notify').setup({
stages = "static", stages = "static",
timeout = 3000, timeout = 500,
max_height = function() max_height = function()
return math.floor(V.o.lines * 0.75) return math.floor(V.o.lines * 0.75)
end, end,
@@ -211,7 +211,7 @@ lazy.setup({
}, },
{ {
'<leader>ha', '<leader>ha',
function() require("harpoon"):list():append() end, function() require("harpoon"):list():add() end,
desc = desc =
"[H]arpoon [A]ppend" "[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 -- Shows a popups with the keybindings that are available after a small delay
{ {
"folke/which-key.nvim", "folke/which-key.nvim",