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

Update Perl6 syntax highlighting to allow for kebab-case in addition to snake_case #24

Open
aeschli opened this issue Feb 15, 2017 · 1 comment

Comments

@aeschli
Copy link
Contributor

aeschli commented Feb 15, 2017

From @WildYorkies on February 13, 2017 21:22

Steps to Reproduce:

  1. Make a file called test.pl6 or test.pm6
  2. Type the following in:
sub print-board() # Wrong

sub thing-for-that() # Wrong
  1. See that the words print and for are highlighted as if they are keywords.

  2. Change it to snake case and notice that it is like a normal variable again:

sub print_board() # Correct

sub thing_for_that() # Correct

Solution:

Update this file with the kebab case addition.

Copied from original issue: microsoft/vscode#20563

@aeschli
Copy link
Contributor Author

aeschli commented Feb 15, 2017

It's a problem of https://github.com/textmate/perl.tmbundle/blob/master/Syntaxes/Perl%206.tmLanguage that we use.

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