annotate runtime/compiler/spectral.vim @ 29245:b12fd2b3be63
v8.2.5141
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Commit: https://github.com/vim/vim/commit/155f2d1451949d1124bfd6ba9c55be6bd74bab75
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 13:38:33 2022 +0100
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Problem: Using "volatile int" in a signal handler might be wrong.
Solution: Use "volatile sig_atomic_t".
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 20 Jun 2022 14:45:03 +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
|