diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/user/bufferline.lua | 8 | ||||
| -rw-r--r-- | lua/user/impatient.lua | 6 | ||||
| -rw-r--r-- | lua/user/keymaps.lua | 4 | ||||
| -rw-r--r-- | lua/user/plugins.lua | 1 |
4 files changed, 11 insertions, 8 deletions
diff --git a/lua/user/bufferline.lua b/lua/user/bufferline.lua index 81015c5..7d98cf0 100644 --- a/lua/user/bufferline.lua +++ b/lua/user/bufferline.lua @@ -92,12 +92,12 @@ bufferline.setup { }, close_button = { - guifg = { attribute = "fg", highlight = "TabLineSel" }, - guibg = { attribute = "bg", highlight = "TabLineSel" }, + guifg = { attribute = "fg", highlight = "TabLine" }, + guibg = { attribute = "bg", highlight = "TabLine" }, }, close_button_visible = { - guifg = { attribute = "fg", highlight = "TabLineSel" }, - guibg = { attribute = "bg", highlight = "TabLineSel" }, + guifg = { attribute = "fg", highlight = "TabLine" }, + guibg = { attribute = "bg", highlight = "TabLine" }, }, -- close_button_selected = { -- guifg = {attribute='fg',highlight='TabLineSel'}, diff --git a/lua/user/impatient.lua b/lua/user/impatient.lua new file mode 100644 index 0000000..84419e0 --- /dev/null +++ b/lua/user/impatient.lua @@ -0,0 +1,6 @@ +local status_ok, impatient = pcall(require, "impatient") +if not status_ok then + return +end + +impatient.enable_profile() diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 5b07011..bf8afd8 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -67,9 +67,5 @@ keymap("x", "<A-k>", ":move '<-2<CR>gv-gv", opts) -- keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts) -- keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) --- Comment -keymap("n", "<leader>/", "<cmd>lua require('Comment').toggle()<CR>", opts) -keymap("v", "<leader>/", ":lua require(\"Comment.api\").gc(vim.fn.visualmode())<cr>", opts) - -- Nvimtree keymap("n", "<leader>e", ":NvimTreeToggle<cr>", opts) diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 87a88a5..5588703 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -53,6 +53,7 @@ return packer.startup(function(use) use 'nvim-lualine/lualine.nvim' use "akinsho/toggleterm.nvim" use "ahmedkhalf/project.nvim" + use 'lewis6991/impatient.nvim' -- Colorschemes -- use "lunarvim/colorschemes" -- A bunch of colorschemes you can try out |
