summaryrefslogtreecommitdiff
path: root/syntax/ale-preview-selection.vim
blob: 879ba09614f681a99fcd9ed5ef4be219d74612f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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'