From 5ef57426d7b4da98277e0b9aa55185f13939c100 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 19 Aug 2022 01:08:55 -0700 Subject: [PATCH] nvim: add lumen and FixCursorHold --- .config/nvim/lua/blake/plugins.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index 09a8936..53875eb 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -22,7 +22,6 @@ return require('packer').startup({function() } -- Packer - -- use 'wbthomason/packer.nvim', use { -- packer: plugin manager 'wbthomason/packer.nvim', config = function() @@ -90,6 +89,9 @@ return require('packer').startup({function() use { -- ifdef-highlighting: highlight c/c++ ifdef's - :Define :Undefine 'vim-scripts/ifdef-highlighting' } + use { -- lumen: make vim respect the system light/dark theme setting (linux + macos) + 'vimpostor/vim-lumen', + } -- IDE features ---- LSP @@ -477,6 +479,9 @@ return require('packer').startup({function() vim.cmd [[ autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | execute 'OSCYankReg +' | endif ]] end } + use { -- fixcursorhold: fix neovim bug #12587 - https://github.com/neovim/neovim/issues/12587 + 'antoinemadec/FixCursorHold.nvim', + } use { -- rhysd: clever-split: split calculation based on pane dimensions - CS or CleverSplit 'rhysd/clever-split.vim', config = function() @@ -544,7 +549,6 @@ return require('packer').startup({function() 'tpope/vim-sleuth', } - -- Bootstrap packer if needed { if (packer_bootstrap) then print('Please wait for packer to install plugins')