Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of using `execute()` to get the foreground and background colours of a colour scheme, use [`synIDattr()`][1] and related functions. This prevents an E12 error when using this plugin in neovim to edit a file which has a [modeline][2]. Tested in neovim 0.9.0 and vim 8.2. [1]: https://vimhelp.org/builtin.txt.html#synIDattr%28%29 [2]: https://vimhelp.org/options.txt.html#modeline
- Loading branch information