annotate runtime/compiler/spectral.vim @ 30711:e1fbb6571b58
v9.0.0690
patch 9.0.0690: buffer size for expanding tab not correctly computed
Commit: https://github.com/vim/vim/commit/a0789478f6ebbb823670b7e14ce13ea3fd3b0217
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 8 11:16:40 2022 +0100
patch 9.0.0690: buffer size for expanding tab not correctly computed
Problem: Buffer size for expanding tab not correctly computed.
Solution: Correctly use size of end character.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 08 Oct 2022 12:30:06 +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
|