mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 04:34:25 +08:00
Implement a preview window for selecting locations to open
This commit is contained in:
11
syntax/ale-preview-selection.vim
Normal file
11
syntax/ale-preview-selection.vim
Normal file
@@ -0,0 +1,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'
|
||||
Reference in New Issue
Block a user