1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 03:27:59 +08:00
SpaceVim/bundle/cpicker.nvim/syntax/spacevim_cpicker.vim

14 lines
463 B
VimL
Raw Normal View History

2024-07-12 00:31:36 +08:00
if exists('b:current_syntax') && b:current_syntax ==# 'spacevim_cpicker'
finish
endif
let b:current_syntax = 'spacevim_cpicker'
syntax case ignore
syn match ProcessBar /[?=+]\+/
2024-07-13 21:59:34 +08:00
syn match SpaceVimPickerCode /#[0123456789ABCDEF]\+\|rgb(\d\+,\s\d\+,\s\d\+)\|hsl(\d\+,\s\d\+%,\s\d\+%)\|hsv(\d\+,\s\d\+%,\s\d\+%)\|cmyk(\d\+%,\s\d\+%,\s\d\+%,\s\d\+%)/
2024-07-12 00:31:36 +08:00
syn match SpaceVimPickerBackground /=\+/
highlight ProcessBar ctermfg=Gray ctermbg=Gray guifg=Gray guibg=Gray