diff --git a/nvim/lua/maps.lua b/nvim/lua/maps.lua index 3fe7ac0..a49e3dd 100644 --- a/nvim/lua/maps.lua +++ b/nvim/lua/maps.lua @@ -42,3 +42,6 @@ map("n", "cr", ":call CocActionAsync(\'format\')", { silent = true }) -- Use to trigger completion. map("i", "", "coc#refresh()", { silent = true, expr = true }) +-- Use cd to jump to next diagnostic +map("n", "cd", "(coc-diagnostic-next)", { silent = true }) + diff --git a/nvim/lua/statusline.lua b/nvim/lua/statusline.lua index b56f9f5..32c7976 100644 --- a/nvim/lua/statusline.lua +++ b/nvim/lua/statusline.lua @@ -322,13 +322,11 @@ gls.right[4] = { gls.right[5] = { PerCent = { provider = "LinePercent", - separator = " ", - separator_highlight = {colors.darkblue, colors.darkblue}, highlight = {colors.cyan, colors.darkblue, "bold"} } } -gls.right[4] = { +gls.right[6] = { ScrollBar = { provider = 'ScrollBar', highlight = {colors.blue,colors.purple},