vim-indent-guides icon indicating copy to clipboard operation
vim-indent-guides copied to clipboard

[#154] avoid `execute()` in `capture_highlight`

Open Boolean263 opened this issue 1 year ago • 0 comments

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

Boolean263 avatar Jun 14 '23 16:06 Boolean263