mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-11 19:33:47 -05:00
Adds support for neovim.
gui highlighting was broken after neovim revision 79a698 (removed support for gui_running hack to check for truecolor support).
This commit is contained in:
@@ -91,7 +91,7 @@ endfunction
|
||||
"
|
||||
function! indent_guides#highlight_colors()
|
||||
if s:auto_colors
|
||||
if has('gui_running')
|
||||
if has('gui_running') || has('nvim')
|
||||
call indent_guides#gui_highlight_colors()
|
||||
else
|
||||
call indent_guides#basic_highlight_colors()
|
||||
|
||||
Reference in New Issue
Block a user