1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00
amix-vimrc-mirror/sources_non_forked/ale/syntax/ale-preview-selection.vim

12 lines
282 B
VimL
Raw Normal View History

2018-06-14 18:31:12 +08:00
if exists('b:current_syntax')
finish
endif
syn match alePreviewSelectionFilename /\v^([a-zA-Z]?:?[^:]+)/
syn match alPreviewNumber /\v:\d+:\d+$/
hi def link alePreviewSelectionFilename String
hi def link alePreviewNumber Number
let b:current_syntax = 'ale-preview-selection'