nvim: add indentline and fix for packer

This commit is contained in:
PowerUser64 2021-12-03 01:05:26 -08:00
parent 942c9bb3d3
commit 9c5a7ad293

View file

@ -14,17 +14,18 @@ return require('packer').startup({function()
-- impatient (needs to go early) -- impatient (needs to go early)
use { -- lewis6991: impatient: Make nvim load faster by caching them use { -- lewis6991: impatient: Make nvim load faster by caching them
'lewis6991/impatient.nvim', 'lewis6991/impatient.nvim',
-- config = function() config = function()
-- require('impatient') require('impatient')
-- end, end,
} }
-- Packer -- Packer
use { -- packer use { -- packer
'wbthomason/packer.nvim', 'wbthomason/packer.nvim',
config = function() -- Map :PS to :PackerSync config = function()
-- Map :PS to :PackerSync
vim.cmd 'command! PS PackerSync' vim.cmd 'command! PS PackerSync'
require('packer_compiled') -- require('packer_compiled')
end end
} }
@ -188,6 +189,16 @@ return require('packer').startup({function()
-- use { -- lightspeed: Jump around in files quickly -- use { -- lightspeed: Jump around in files quickly
-- 'ggandor/lightspeed.nvim', -- 'ggandor/lightspeed.nvim',
-- } -- }
use { -- indentline: Line indent indicators
'Yggdroot/indentLine',
config = function()
vim.cmd [[
let g:indentLine_char = ''
let g:indentLine_conceallevel = 1
let g:indentLine_fileTypeExclude = ['markdown', 'help']
]]
end
}
use { -- targets.vim: fix ci' and other things to work right use { -- targets.vim: fix ci' and other things to work right
'wellle/targets.vim', 'wellle/targets.vim',
} }