Several enhancements to gitolite syntax definition.
ClosedPublic

Authored by zrax on Dec 5 2019, 6:55 PM.

Details

Summary
  • Add more keywords, including access modes
  • Highlight include directives properly
  • Fix group highlighting to not match email addresses
  • Minor default style tweaks
  • Add unit tests for gitolite syntax

Diff Detail

Repository
R216 Syntax Highlighting
Branch
gitolite-syntax (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19530
Build 19548: arc lint + arc unit
zrax created this revision.Dec 5 2019, 6:55 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptDec 5 2019, 6:55 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
zrax requested review of this revision.Dec 5 2019, 6:55 PM
dhaumann accepted this revision.Dec 5 2019, 8:06 PM
dhaumann added a subscriber: dhaumann.

Looks good. But does the highlighting work for RW+CD? I am wondering whether + needs to be added to the weakDeliminator list?

This revision is now accepted and ready to land.Dec 5 2019, 8:06 PM
zrax updated this revision to Diff 70989.Dec 5 2019, 9:24 PM

Fix "+" in keywords to not act as a word break.

This revision was automatically updated to reflect the committed changes.