From c773c6e230bc9c0ae337c19d928db9e2f659d90f Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Thu, 23 Apr 2026 12:01:54 +0200 Subject: [PATCH] add cmd popup window pt2 --- lua/plugins/cmd_popup.lua | 7 ++++++- lua/plugins/treesitter.lua | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lua/plugins/cmd_popup.lua b/lua/plugins/cmd_popup.lua index ddab760..c7cab48 100644 --- a/lua/plugins/cmd_popup.lua +++ b/lua/plugins/cmd_popup.lua @@ -15,6 +15,11 @@ return { }, dependencies = { "MunifTanjim/nui.nvim", - "rcarriga/nvim-notify", + { + "rcarriga/nvim-notify", + opts = { + timeout = 2000, -- Set this to your preferred time in milliseconds (e.g., 3000 = 3 seconds) + }, + }, } } diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 734b425..25d5d60 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,11 +1,15 @@ return { "nvim-treesitter/nvim-treesitter", lazy = false, + -- event = { "BufReadPost", "BufNewFile" }, build = ":TSUpdate", config = function() require("nvim-treesitter").setup({ install_dir = vim.fn.stdpath("data") .. "/site", - highlight = { enable = true }, + highlight = { + enable = true, + -- additional_vim_regex_highlighting = false, + }, indent = { enable = true }, autotag = { enable = true }, ensure_installed = {