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()
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({
},
{
'<leader>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",