Skip to content

Update syntax/README.md and replace \<, \> in syntax files#3734

Open
niten94 wants to merge 5 commits into
micro-editor:masterfrom
niten94:outdated-syntax-conv
Open

Update syntax/README.md and replace \<, \> in syntax files#3734
niten94 wants to merge 5 commits into
micro-editor:masterfrom
niten94:outdated-syntax-conv

Conversation

@niten94

@niten94 niten94 commented May 3, 2025

Copy link
Copy Markdown
Contributor

Some of the changes done in this pull request are written below:

  1. Replacing \< and \> with \b in syntax files - The nanorc files where most syntax files originated use \< and \> to match word boundaries, but they were still contained in few files. \> in objc.yaml and perl.yaml are retained, since I can't determine the purpose of the patterns.
  2. Replacing list in runtime/syntax/README.md to syntax files with hardcoded colors - It was mentioned in Syntax Now Using Color Schemes? #3606 (direct link needed since account deleted?) that the list doesn't match. I'm not familiar with the file types where hardcoded colors are used, so I modified the list only.
    • I mentioned asciidoc.yaml but there's only a rule which changes font style, so it's excluded.
  3. Merging sage.yaml with python3.yaml - I'm not exactly sure what Sage is but syntax file differences only seemed to be old Python features, so they are merged.

niten94 added 5 commits May 3, 2025 10:10
Replace word boundary escape sequences used in nanorc files with \b,
and merge option names after '|' in rule matching set/unset in
nanorc.yaml to expression at left.

\> in objc.yaml and perl.yaml remain unchanged, since it isn't known
what the rules are supposed to match.
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