Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E121: Undefined variable: b:css_color_pat in netrw #163

Open
dhleong opened this issue Nov 9, 2021 · 0 comments
Open

E121: Undefined variable: b:css_color_pat in netrw #163

dhleong opened this issue Nov 9, 2021 · 0 comments

Comments

@dhleong
Copy link
Contributor

dhleong commented Nov 9, 2021

I don't have a consistent repro for this, but every now and again I encounter this error when activating netrw via the - mapping of vinegar. Checking au CursorMoved in this situation, I do see a CSSColor CursorMoved autocmd for the netrw buffer for some reason.

When it happens, executing :call css_color#disable() throws another error (below) but does make the netrw buffer usable again:

|| E121: Undefined variable: b:css_color_off
|| line    2:
|| E121: Undefined variable: b:css_color_grp
|| E116: Invalid arguments for function len( b:css_color_grp ) | exe 'syn cluster colorableGroup remove=' . join( b:css_color_grp, ',' ) | endif
changa added a commit to changa/vimconfig that referenced this issue Mar 9, 2022
I got tired of the occasional errors similar to
ap/vim-css-color#163.

Might try https://github.com/RRethy/vim-hexokinase instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant