From ff768eb6354631ba66a5108bcab55a72d96f6df9 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 23 Apr 2024 22:50:14 +0200 Subject: [PATCH] add ibl --- init.vim | 3 +++ lua/init.lua | 2 ++ lua/keymap.lua | 2 -- lua/plugins.lua | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/init.vim b/init.vim index 6df9486..cdcfe9a 100644 --- a/init.vim +++ b/init.vim @@ -23,6 +23,9 @@ let g:blamer_enabled = 1 let g:startify_change_to_dir = 0 let g:startify_change_to_vcs_root = 1 +inoremap coc#pum#visible() ? coc#pum#prev(1) : "" +inoremap coc#pum#visible() ? coc#pum#next(1) : "" + inoremap \ coc#pum#visible() ? coc#_select_confirm() : \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : diff --git a/lua/init.lua b/lua/init.lua index 95760db..35b30ac 100644 --- a/lua/init.lua +++ b/lua/init.lua @@ -119,3 +119,5 @@ vim.api.nvim_create_autocmd("TermClose", { vim.cmd("close") end }) + +require("ibl").setup() diff --git a/lua/keymap.lua b/lua/keymap.lua index dbb0d06..55ed28b 100644 --- a/lua/keymap.lua +++ b/lua/keymap.lua @@ -39,8 +39,6 @@ map("", "", "") map("", "", "") map("", "", "") -map("i", "", "") -map("i", "", "") map("i", "", "") map("i", "", "") diff --git a/lua/plugins.lua b/lua/plugins.lua index 0b6e8f8..b2754e4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -78,5 +78,10 @@ return { { "nvim-lualine/lualine.nvim", dependencies = { "nvim-tree/nvim-web-devicons" } + }, + { + "lukas-reineke/indent-blankline.nvim", + main = "ibl", + opts = {} } }