lotabout / skim.vim

vim support for skim
132 stars 19 forks source link

`g:skim_colors` isn't used when running `:Maps` and `:Rg` #11

Open Ontonator opened 4 years ago

Ontonator commented 4 years ago

My colours are defined in init.vim as:

let g:skim_colors = {
    \ 'fg':               ['fg', 'Comment', 'Normal'],
    \ 'bg':               ['bg', 'Comment', 'Normal'],
    \ 'matched':          ['fg', 'SpellLocal', 'Normal'],
    \ 'matched_bg':       ['bg', 'Normal'],
    \ 'current':          ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
    \ 'current_bg':       ['bg', 'CursorLine', 'CursorColumn'],
    \ 'current_match':    ['bg', 'Search', 'Normal'],
    \ 'current_match_bg': ['fg', 'Search', 'SpellLocal', 'Normal'],
    \ 'info':             ['fg', 'Function'],
    \ 'border':           ['fg', 'Ignore'],
    \ 'prompt':           ['fg', 'Keyword'],
    \ 'pointer':          ['fg', 'Error'],
    \ 'marker':           ['fg', 'Special'],
    \ 'spinner':          ['fg', 'Label'],
    \ 'header':           ['fg', 'Comment']
    \ }

They work in all other predefined commands (although I couldn't test :Ag or :Snippets).