add ibl
This commit is contained in:
parent
9a0b795aa2
commit
ff768eb635
3
init.vim
3
init.vim
|
@ -23,6 +23,9 @@ let g:blamer_enabled = 1
|
||||||
let g:startify_change_to_dir = 0
|
let g:startify_change_to_dir = 0
|
||||||
let g:startify_change_to_vcs_root = 1
|
let g:startify_change_to_vcs_root = 1
|
||||||
|
|
||||||
|
inoremap <silent><expr> <UP> coc#pum#visible() ? coc#pum#prev(1) : ""
|
||||||
|
inoremap <silent><expr> <DOWN> coc#pum#visible() ? coc#pum#next(1) : ""
|
||||||
|
|
||||||
inoremap <silent><expr> <TAB>
|
inoremap <silent><expr> <TAB>
|
||||||
\ coc#pum#visible() ? coc#_select_confirm() :
|
\ coc#pum#visible() ? coc#_select_confirm() :
|
||||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
||||||
|
|
|
@ -119,3 +119,5 @@ vim.api.nvim_create_autocmd("TermClose", {
|
||||||
vim.cmd("close")
|
vim.cmd("close")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("ibl").setup()
|
||||||
|
|
|
@ -39,8 +39,6 @@ map("", "<DOWN>", "<NOP>")
|
||||||
map("", "<RIGHT>", "<NOP>")
|
map("", "<RIGHT>", "<NOP>")
|
||||||
map("", "<LEFT>", "<NOP>")
|
map("", "<LEFT>", "<NOP>")
|
||||||
|
|
||||||
map("i", "<UP>", "<NOP>")
|
|
||||||
map("i", "<DOWN>", "<NOP>")
|
|
||||||
map("i", "<RIGHT>", "<NOP>")
|
map("i", "<RIGHT>", "<NOP>")
|
||||||
map("i", "<LEFT>", "<NOP>")
|
map("i", "<LEFT>", "<NOP>")
|
||||||
|
|
||||||
|
|
|
@ -78,5 +78,10 @@ return {
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" }
|
dependencies = { "nvim-tree/nvim-web-devicons" }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
main = "ibl",
|
||||||
|
opts = {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue