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

Mess with syntax. #49

Open
Shuraken007 opened this issue Jun 9, 2023 · 0 comments
Open

Mess with syntax. #49

Shuraken007 opened this issue Jun 9, 2023 · 0 comments

Comments

@Shuraken007
Copy link

Hello. I tryed to configure colorscheme for syntax/man.vim . And founded some problems.

  1. Why manSectionHeading is so hard.
    It won't catch things with \-\(\)
    HIGH-LEVEL COMMANDS (PORCELAIN)
    I changed it to '\v^([A-Z].+)' and syntax start to catch all sections
  2. this options are linked, but there aren't any regular expressions for them
hi def link manOptionDesc      Constant
hi def link manLongOptionDesc  Constant
  1. Why no matching for options?
    I add this one, and everything looks much more better.
    syntax match manOption '\v^\s+(\-[^ \[,=]+)'
    image
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