feat(nvim): add `trouble.nvim` support

This commit is contained in:
Iron-E 2021-07-03 18:17:46 -04:00
parent 66d6011eb5
commit d0b209d269
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22
1 changed files with 4 additions and 1 deletions

View File

@ -315,7 +315,7 @@ local highlight_groups = {
--[[ 4.2.3. Conditional Line Highlighting]] --[[ 4.2.3. Conditional Line Highlighting]]
Conceal = 'NonText', Conceal = 'NonText',
CursorLine = {bg=gray_dark}, CursorLine = {bg=gray_dark},
CursorLineNr = function(self) return {fg=pink, bg=self.CursorLine.bg} end, CursorLineNr = function(self) return {fg=pink, bg=self.LineNr.bg} end,
debugBreakpoint = 'ErrorMsg', debugBreakpoint = 'ErrorMsg',
debugPC = 'ColorColumn', debugPC = 'ColorColumn',
LineNr = {fg=gray}, LineNr = {fg=gray},
@ -852,6 +852,9 @@ local highlight_groups = {
--[[ 4.4.13. indent-blankline.nvim ]] --[[ 4.4.13. indent-blankline.nvim ]]
IndentBlanklineChar = function(self) return vim.tbl_extend('force', self.Whitespace, {style='nocombine'}) end, IndentBlanklineChar = function(self) return vim.tbl_extend('force', self.Whitespace, {style='nocombine'}) end,
IndentBlanklineSpaceChar = 'IndentBlanklineChar', IndentBlanklineSpaceChar = 'IndentBlanklineChar',
--[[ 4.4.14. trouble.nvim ]]
TroubleCount = function(self) return vim.tbl_extend('force', self.Number, {style='underline'}) end,
} }
--[[ Step 5: Terminal Colors --[[ Step 5: Terminal Colors