Skip to content

Highlight keywords inside blocks correctly #1

@awvwgk

Description

@awvwgk

Highlighting inside blocks, i.e. %method ... end is currently not enabled. Requires to find the keywords for all blocks (62 total) and add separate keyword groups as in

" contain additional keywords for this block
syn region methodBlock start="%method" end="end"
         \ transparent keepend extend fold contains=startBlock,endBlock,orcaBlock,orcaMethodKeywords
...

" one named keywork group for every block required
syn keyword orcaMethodKeywords contained
         \ ...
...

" link all block keywords
hi def link orcaMethodKeywords Identifier
...

Maybe also contain orcaNumber and orcaString in methodBlock to highlight them correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions