csscomplete.vim icon indicating copy to clipboard operation
csscomplete.vim copied to clipboard

Fix undefined `b:after` variable

Open valeriangalliat opened this issue 4 years ago • 0 comments

This plugin defines a after variable but reads b:after later on which causes crashes in rare occurrences. This PR fixes this.

Note that the opposite patch works too, e.g. leaving those 2 lines alone but replacing if b:after =~? '"' by if after =~? '"' later on. If that makes more sense I'll be happy to update this PR.

Related to https://github.com/vim/vim/pull/8887

Cheers!

valeriangalliat avatar Sep 21 '21 17:09 valeriangalliat