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

fix(lua): add keyword, number matching #17

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

davidhcefx
Copy link
Collaborator

@davidhcefx davidhcefx commented Feb 3, 2024

Fix issue scopatz#393

- goto keyword
- math.sin typo
- Properly match numbers according to https://www.lua.org/manual/5.4/manual.html#3.1
lua.nanorc Outdated Show resolved Hide resolved
- Numbers and escapes: magenta
@davidhcefx
Copy link
Collaborator Author

davidhcefx commented Feb 25, 2024

  • Updated the rules, for example to include \t escape.
  • Changed escape highlighting from red to magenta, because otherwise the highlighted result would be invisible.

Before

After

@galenguyer galenguyer merged commit b6d418a into galenguyer:master Feb 25, 2024
@davidhcefx davidhcefx deleted the lua-num branch February 25, 2024 17:38
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.

2 participants