nvim: add lumen and FixCursorHold

This commit is contained in:
PowerUser64 2022-08-19 01:08:55 -07:00
parent 2e62c7b12e
commit 5ef57426d7

View file

@ -22,7 +22,6 @@ return require('packer').startup({function()
} }
-- Packer -- Packer
-- use 'wbthomason/packer.nvim',
use { -- packer: plugin manager use { -- packer: plugin manager
'wbthomason/packer.nvim', 'wbthomason/packer.nvim',
config = function() config = function()
@ -90,6 +89,9 @@ return require('packer').startup({function()
use { -- ifdef-highlighting: highlight c/c++ ifdef's - :Define :Undefine use { -- ifdef-highlighting: highlight c/c++ ifdef's - :Define :Undefine
'vim-scripts/ifdef-highlighting' 'vim-scripts/ifdef-highlighting'
} }
use { -- lumen: make vim respect the system light/dark theme setting (linux + macos)
'vimpostor/vim-lumen',
}
-- IDE features -- IDE features
---- LSP ---- 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 ]] vim.cmd [[ autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | execute 'OSCYankReg +' | endif ]]
end 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 use { -- rhysd: clever-split: split calculation based on pane dimensions - CS or CleverSplit
'rhysd/clever-split.vim', 'rhysd/clever-split.vim',
config = function() config = function()
@ -544,7 +549,6 @@ return require('packer').startup({function()
'tpope/vim-sleuth', 'tpope/vim-sleuth',
} }
-- Bootstrap packer if needed { -- Bootstrap packer if needed {
if (packer_bootstrap) then if (packer_bootstrap) then
print('Please wait for packer to install plugins') print('Please wait for packer to install plugins')