aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Refine version check for :compiler scriptsTom Ryder2019-05-298-8/+8
| | | | | | | The %:S modifier for shell escaping was added in 7.4.191, and the nicer syntax for checking patch levels not much later in 7.4.237. Bring the minimum version of Vim for the compiler scripts down just a bit, since it's not too much more reading and can still stay on one line.
* Overhaul Vim :compiler scriptsTom Ryder2019-05-298-107/+28
| | | | | | | | * Drop support for everything before Vim 8.0; this is mostly because of the requirement of %:S for safe 'makeprg' handling; it's not likely that I'll do much development on anything older than v8.0 anymore * Remove :CompilerSet definition for ancient Vims * Add brief comments and URLs to top of file
* Split long lines with version/patch check patternTom Ryder2019-05-178-8/+16
|
* Break up long lines in PHP Vim compiler scriptTom Ryder2019-05-171-4/+9
|
* Remove unnecessary g: prefixes to Vim variablesTom Ryder2019-05-098-16/+16
|
* Add option terminators or equivs to :compilersTom Ryder2018-08-198-16/+16
|
* Add local copy of php.vim compilerTom Ryder2018-06-171-0/+23
| | | | Slightly adapted; doesn't load at all if &compatible
* Completely overhaul after/ftplugin filesTom Ryder2018-06-174-0/+78
| | | | | | | | | | | | | Should have done some of this in separate commits; oh well. * Rewrite headers for each ftplugin * Require Vim version >= 7.0, and thereby: * Switch back to location list * Don't check for b:undo_ftplugin existence, assume it * Save and restore compiler instead of internal options * Add bash, ksh, sh, and shellcheck compilers * Rename mail/format_flowed.vim to mail/flowed.vim * Rename sh/bash_han.vim to sh/han.vim
* Correct g:current_compiler settingTom Ryder2018-06-161-1/+1
| | | | Copypaste error.
* Add syntax checking with zsh -n for Z shellTom Ryder2017-11-231-0/+17
|
* Correct "fi" to "endif" in new compiler filesTom Ryder2017-11-202-2/+2
|
* Use %:S expansion only when availableTom Ryder2017-11-192-2/+14
|
* Force g:current_compiler removal before check/lintTom Ryder2017-11-192-2/+2
| | | | This seems to be necessary for Vim 6.
* Use :compiler scripts for makeprg setupTom Ryder2017-11-192-0/+22
I didn't know about :compiler until now. From :help write-compiler-plugin: > A compiler plugin sets options for use with a specific compiler. The > user can load it with the |:compiler| command. The main use is to set > the 'errorformat' and 'makeprg' options. Vim even has "perl" and "tidy" compilers already that seem to work really well. I'll just add in my own and install them.