1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 00:07:57 +08:00
SpaceVim/bundle/cpicker.nvim/syntax/spacevim_cpicker.vim
2024-07-13 21:59:34 +08:00

14 lines
463 B
VimL

if exists('b:current_syntax') && b:current_syntax ==# 'spacevim_cpicker'
finish
endif
let b:current_syntax = 'spacevim_cpicker'
syntax case ignore
syn match ProcessBar /[?=+]\+/
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\+%)/
syn match SpaceVimPickerBackground /=\+/
highlight ProcessBar ctermfg=Gray ctermbg=Gray guifg=Gray guibg=Gray