summaryrefslogtreecommitdiff
path: root/syntax/ale-preview-selection.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/ale-preview-selection.vim')
-rw-r--r--syntax/ale-preview-selection.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/syntax/ale-preview-selection.vim b/syntax/ale-preview-selection.vim
new file mode 100644
index 00000000..879ba096
--- /dev/null
+++ b/syntax/ale-preview-selection.vim
@@ -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'