vimrc/sources_non_forked/ale/syntax/ale-preview-selection.vim

12 lines
282 B
VimL
Raw Normal View History

2018-06-14 10:31:12 +00: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'