Closed fortes closed 7 years ago
(Originally I thought this was due to base16
, but I removed that colorscheme and still get this error)
Hi fortes,
I can't reproduce but can you try it again with this patch applied where the bundle is installed?
Thanks!
diff --git a/autoload/search_pulse.vim b/autoload/search_pulse.vim
index cb9839b..1e1a329 100644
--- a/autoload/search_pulse.vim
+++ b/autoload/search_pulse.vim
@@ -42,7 +42,7 @@ func! s:Initialize()
let s:highlight_arg = gui_running ? 'guibg' : 'ctermbg'
let s:oldc = synIDattr(synIDtrans(hlID('CursorLine')), 'bg')
- if s:oldc == -1
+ if s:oldc == -1 || s:oldc == ''
let s:oldc = 'NONE'
endif
Just tested and that works! Thanks for fixing!
You're welcome! I just pushed this fix on the master branch.
You can remove your local change and update the plugin with :PlugUpdate vim-search-pulse
.
Hi there, I get the following error when using a minimal setup:
I can reproduce this with the following
.vimrc
(usesvim-plug
, but that should not matter):Here is my system info (I run vim in the terminal):
The plugin works fine in my normal setup, but breaks once I tried to move to a different colorscheme (I use hybrid normally)
Thanks for the great plugin!