Skip to content

Please provide symbol lookup for the identifiers used amongst syn match, syn region, and syn cluster. #201

Open
@egberts

Description

@egberts

Often times, the syntax spec file (ones in the .vim/syntax directory, have hundreds, if not thousands of identifiers.

And having the support of the symbol table would greatly cut down lookup efforts (instead of currently doing the selection-word, cut-n-paste into a search bar).

The symbol definition of such identifiers are defined in:

syntax match this_symbol_name ...
syntax region this_symbol_name ...
syntax cluster this_cluster_symbol_name ...

And are easily referenced after keywords like:

\ contains=this_symbol_name[,next_symbol_name ...]
\ contains=@this_cluster_symbol_name[,next_symbol_name ...]
\ nextgroup=this_symbol_name[,next_symbol_name ...]
\ containedby=this_symbol_name[,next_symbol_name ...]

Support for this will greatly assist the large data science community with easier and even simplistic syntax highlight used against high-speed data streaming outputs.
For large working examples:

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