Add treesitter
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user