Skip to content

Syntax highlighting overrides the user's colorscheme #52

Closed
@axgfn

Description

@axgfn

The few instances of syntax highlighting defined in ftplugin/ledger.vim seem to override the user's colorscheme. The main syntax highlighting file syntax/ledger.vim is fine.

These appear to be the problematic lines, I think because of the exclamation:

hi! link LedgerNumber Number
hi! link LedgerNegativeNumber Special
hi! link LedgerCleared Constant
hi! link LedgerPending Todo
hi! link LedgerTarget Statement
hi! link LedgerImproperPerc Special

For example, I added the following line to my colorscheme:

highlight LedgerNegativeNumber ctermfg=1 guifg=#880000

But it gets overridden by vim-ledger.

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