Skip to content

Alhadis/Regex-Comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex Comments

Highlight comments in regular expressions. Two styles are supported:

(?# Block comments)

# Line comments

Note: This style only affects strings that start with (?x):

Geared toward authors of TextMate-compatible grammars.

Targeting specific languages

By default, this package affects any language where the (?#…) sequence is used inside a string. If you'd like to restrict it to specific languages only, just use your stylesheet:

.syntax--string:not(.syntax--coffee),
.syntax--string:not(.syntax--yaml) {
	& .syntax--oniguruma.syntax--comment {
		color: inherit;
	}
}

About

Atom highlighting for Oniguruma-regex comments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published