diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-06 23:10:55 +0200 |
| commit | cfaef26e8718916adcc68fbfb63b15f2389b2cd2 (patch) | |
| tree | 3989af4514d31d0a5cb89e8b96d51210ad7bf152 /neovim/compiler | |
| parent | 654ec06ab6a885ea851c4cbf68d06a00b41b0e14 (diff) | |
move all the files
Diffstat (limited to 'neovim/compiler')
| -rw-r--r-- | neovim/compiler/ansible-lint.vim | 11 | ||||
| -rw-r--r-- | neovim/compiler/go-test.vim | 14 | ||||
| -rw-r--r-- | neovim/compiler/helm.vim | 14 | ||||
| -rw-r--r-- | neovim/compiler/racket.vim | 26 | ||||
| -rw-r--r-- | neovim/compiler/terragrunt.vim | 21 |
5 files changed, 0 insertions, 86 deletions
diff --git a/neovim/compiler/ansible-lint.vim b/neovim/compiler/ansible-lint.vim deleted file mode 100644 index 9427092..0000000 --- a/neovim/compiler/ansible-lint.vim +++ /dev/null @@ -1,11 +0,0 @@ -if exists('current_compiler') - finish -endif -let current_compiler = 'go-test' - -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -endif - -CompilerSet makeprg=compile\ ansible-lint -CompilerSet errorformat=%Z%f:%l\ %m,%Z%f:%l,%E%\\%%(%\\S%\\)%\\@=%m,%C%\\%%(%\\S%\\)%\\@=%m,%-G diff --git a/neovim/compiler/go-test.vim b/neovim/compiler/go-test.vim deleted file mode 100644 index 61442e5..0000000 --- a/neovim/compiler/go-test.vim +++ /dev/null @@ -1,14 +0,0 @@ -if exists('current_compiler') - finish -endif -let current_compiler = 'go-test' - -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -endif - -" %f>%l:%c:%t:%n:%m -CompilerSet makeprg=go\ test -CompilerSet errorformat=%.%#:\ %m\ %f:%l,%.%#:\ %m\ at\ %f:%l%.%#, - -" vim: sw=2 sts=2 et diff --git a/neovim/compiler/helm.vim b/neovim/compiler/helm.vim deleted file mode 100644 index 7e4b21d..0000000 --- a/neovim/compiler/helm.vim +++ /dev/null @@ -1,14 +0,0 @@ -if exists('current_compiler') - finish -endif -let current_compiler = 'go-test' - -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -endif - -CompilerSet makeprg=compile\ helm\ lint -CompilerSet errorformat=\[%t%.%#\]%.%#\ template:\ %f:%l:%c:\ %m, - \\[%t%.%#\]\ %f:\ %m, - -" vim: sw=2 sts=2 et diff --git a/neovim/compiler/racket.vim b/neovim/compiler/racket.vim deleted file mode 100644 index 1f98a41..0000000 --- a/neovim/compiler/racket.vim +++ /dev/null @@ -1,26 +0,0 @@ -if exists('current_compiler') - finish -endif -let current_compiler = 'go-test' - -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -endif - -" The errorformat can also use vim's regular expression syntax (albeit in a rather awkward way) which gives us a solution to the problem. We can use a non-capturing group and a zero-width assertion to require the presence of these signaling phrases without consuming them. This then allows the %m to pick them up. As plain regular expression syntax this zero-width assertion looks like: -" -" \%(undefined reference\|multiple definition\)\@= -" -" But in order to use it in efm we need to replace \ by %\ and % by %% - - -CompilerSet makeprg=compile\ racket -CompilerSet errorformat=\%Z%*\\S%.%#, - \%C\ \ \ %f:%l:%c, - \%C\ \ \ %f:%l:%c:\ %m, - \%C\ \ %.%#%\\%%(module%\\spath:%\\\|at\:%\\\|in\:%\\\|expected\:%\\\|given\:%\\)%\\@=%m, - \%C\ %.%#, - \%E%\\%%(%\\w%\\)%\\@=%f:%*\\d:%*\\d:\ %m, - \%E%*\\f:%*\\d:%*\\d:\ %m, - \%E%\\%%(%\\S%\\+:%\\\|%\.%\\+--%\\)%\\@=%m, -" vim: sw=2 sts=2 et diff --git a/neovim/compiler/terragrunt.vim b/neovim/compiler/terragrunt.vim deleted file mode 100644 index 54f94ef..0000000 --- a/neovim/compiler/terragrunt.vim +++ /dev/null @@ -1,21 +0,0 @@ -if exists('current_compiler') - finish -endif -let current_compiler = 'go-test' - -if exists(':CompilerSet') != 2 - command -nargs=* CompilerSet setlocal <args> -endif - -" The errorformat can also use vim's regular expression syntax (albeit in a rather awkward way) which gives us a solution to the problem. We can use a non-capturing group and a zero-width assertion to require the presence of these signaling phrases without consuming them. This then allows the %m to pick them up. As plain regular expression syntax this zero-width assertion looks like: -" -" \%(undefined reference\|multiple definition\)\@= -" -" But in order to use it in efm we need to replace \ by %\ and % by %% - - -CompilerSet makeprg=terragrunt -CompilerSet errorformat=%.%#level=%t%.%#msg=%f:%l%\\,%c-%*\\d:\ %m, - \%Z%m, - \%E-\ %m\ (at\ %f:%l\\,%c-%*\\d), -" vim: sw=2 sts=2 et |
