diff --git a/lua/custom/chadrc.lua b/lua/custom/chadrc.lua index 57b0bbb..915e371 100644 --- a/lua/custom/chadrc.lua +++ b/lua/custom/chadrc.lua @@ -72,40 +72,57 @@ M.ui = { M.plugins = { user = require "custom.plugins", override = { + ["folke/which-key.nvim"] = { + triggers_blacklist = { + -- list of mode / prefixes that should never be hooked by WhichKey + i = { "j", "k" }, + v = { "j", "k" }, + }, + }, + ["NvChad/ui"] = { -- tabufline = { - -- lazyload = false, - -- }, - statusline = { - overriden_modules = function() - return require "custom.plugins.nvchadui" - end - } + -- lazyload = false, + -- }, + statusline = { + overriden_modules = function() + return require "custom.plugins.nvchadui" + end + } - }, - ["nvim-treesitter/nvim-treesitter"] = { - ensure_installed = { - "lua", - "go", - "rust", - "fish", - "bash", - "python", - "c", - "haskell", - "javascript", - "html", - "markdown", - "markdown_inline", - "make", - "sql", - "yaml", - "toml", - "vue", - } - }, - } + }, + ["windwp/nvim-autopairs"] = { + disable_filetype = { + "TelescopePrompt", + "vim", + "guihua", + "guihua_rust", + "clap_input" + } + }, + ["nvim-treesitter/nvim-treesitter"] = { + ensure_installed = { + "lua", + "go", + "rust", + "fish", + "bash", + "python", + "c", + "haskell", + "javascript", + "html", + "markdown", + "markdown_inline", + "make", + "sql", + "yaml", + "toml", + "vue", + } + }, + } } return M diff --git a/lua/custom/plugins/info.lua b/lua/custom/plugins/info.lua deleted file mode 100644 index 392ec14..0000000 --- a/lua/custom/plugins/info.lua +++ /dev/null @@ -1,24 +0,0 @@ -local M = {} - -M.set_mappings = function () - vim.cmd [[ - nnoremap I :tab Info - augroup INFO - au! - au FileType info nnoremap i - au FileType info nmap (InfoUp) - au FileType info nmap iu (InfoUp) - au FileType info nmap (InfoMenu) - au FileType info nmap im (InfoMenu) - au FileType info nmap (InfoFollow) - au FileType info nmap if (InfoFollow) - au FileType info nmap (InfoNext) - au FileType info nmap in (InfoNext) - au FileType info nmap (InfoPrev) - au FileType info nmap ip (InfoPrev) - au FileType info nmap ig (InfoGoto) - augroup END - ]] -end - -return M