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

Support $ in identifiers #429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zgrannan
Copy link
Contributor

The change to editor.wordSeparators in package.json ensures that identifiers containing $ are treated as a single word (currently, they are split on the $ symbol. This is useful for extensions such as vscodevim that allow for operators to be performed on words (although there are still some issues, for example: VSCodeVim/Vim#8190).

The change to wordPattern in viper-configuration is analogous, but changes different behaviour within vscode. More details are available here: https://code.visualstudio.com/api/language-extensions/language-configuration-guide#word-pattern

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

Successfully merging this pull request may close these issues.

1 participant