annotate runtime/compiler/spectral.vim @ 30224:1fbc86e18258
v9.0.0448
patch 9.0.0448: SubRip files are not recognized
Commit: https://github.com/vim/vim/commit/5a4eb55122e45444d3a6c56ce108ce29bc8e52ab
Author: ObserverOfTime <chronobserver@disroot.org>
Date: Mon Sep 12 12:43:23 2022 +0100
patch 9.0.0448: SubRip files are not recognized
Problem: SubRip files are not recognized.
Solution: Add a pattern for SubRip. (closes https://github.com/vim/vim/issues/11113)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 12 Sep 2022 14:00:05 +0200 |
parents |
bdda48f01a68 |
children |
e1df51f68736 |
rev |
line source |
25402
|
1 " Vim compiler file
|
|
2 " Compiler: Spectral for YAML
|
|
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
|
4 " Last Change: 2021 July 21
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "spectral"
|
|
10
|
|
11 if exists(":CompilerSet") != 2
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 CompilerSet makeprg=spectral\ lint\ %\ -f\ text
|
|
16 CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m
|
|
17
|