aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler
AgeCommit message (Collapse)AuthorFilesLines
2018-06-17Add local copy of php.vim compilerTom Ryder1-0/+23
Slightly adapted; doesn't load at all if &compatible
2018-06-17Completely overhaul after/ftplugin filesTom Ryder4-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
2018-06-16Correct g:current_compiler settingTom Ryder1-1/+1
Copypaste error.
2017-11-23Add syntax checking with zsh -n for Z shellTom Ryder1-0/+17
2017-11-20Correct "fi" to "endif" in new compiler filesTom Ryder2-2/+2
2017-11-19Use %:S expansion only when availableTom Ryder2-2/+14
2017-11-19Force g:current_compiler removal before check/lintTom Ryder2-2/+2
This seems to be necessary for Vim 6.
2017-11-19Use :compiler scripts for makeprg setupTom Ryder2-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.