vim-indent-guides
vim-indent-guides copied to clipboard
[#154] avoid `execute()` in `capture_highlight`
trafficstars
Instead of using execute() to get the foreground and background colours of a colour scheme, use synIDattr() and related functions. This prevents an E12 error when using this plugin in neovim to edit a file which has a modeline.
Tested in neovim 0.9.0 and vim 8.2.
Closes #154