nvim: add indentline and fix for packer
This commit is contained in:
parent
942c9bb3d3
commit
9c5a7ad293
1 changed files with 17 additions and 6 deletions
|
@ -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',
|
||||||
}
|
}
|
||||||
|
@ -258,7 +269,7 @@ return require('packer').startup({function()
|
||||||
end,
|
end,
|
||||||
config = {
|
config = {
|
||||||
display = { open_fn = require('packer.util').float },
|
display = { open_fn = require('packer.util').float },
|
||||||
-- Move to lua dir so impatient.nvim can cache it
|
-- Move to lua dir so impatient.nvim can cache it
|
||||||
compile_path = vim.fn.stdpath('config')..'/lua/packer_compiled.lua',
|
compile_path = vim.fn.stdpath('config')..'/lua/packer_compiled.lua',
|
||||||
}})
|
}})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue