Skip to content

Mess with syntax. #49

Description

@Shuraken007

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions