This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/syntax/ale-preview-selection.vim

11 lines
282 B
VimL

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'