-
Notifications
You must be signed in to change notification settings - Fork 51
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
Invalid expression: .pat..'$' #67
Comments
Lua offers a string concatenation operator, denoted by "..", but strings can be concatenated with "." in vimscript:
|
String concatenation can be done in vimscript with https://vimhelp.org/eval.txt.html#expr6:
The vim help you linked is for version 7.3. It seems you are using an early 8.0 version which doesn't have this upgrade in the expression parsing, I'll merge the change, but you need to upgrade your Vim version since many plugins devs (and myself) won't go out of our way to support old version of Vim (5 years old in this case). |
Can we add a compatibility check? Patch 8.1.1114 |
Compatibility check wouldn't be beneficial since it's adding a lot of logic (check for patch for Neovim and Vim) while the reward is just syntactical. |
environment
actual behavior
expected behavior
No errors.
screen shot (if possible)
The text was updated successfully, but these errors were encountered: