aboutsummaryrefslogtreecommitdiff
path: root/vim/after
Commit message (Collapse)AuthorAgeFilesLines
...
* Add g:no_plugin_maps checks for ftplugin maps.vimTom Ryder2018-06-298-0/+40
|
* Use ftplugins for filetype mappings insteadTom Ryder2018-06-298-11/+170
|
* Refine 'comments' ftplugins furtherTom Ryder2018-06-294-15/+40
| | | | | Add 'formatoptions' flags 'o' and 'r' to all four configured types. This is especially important for block comments in PHP.
* Remove 'formatoptions' reset in ftpluginsTom Ryder2018-06-292-2/+2
|
* Add Vim ftplugin to set 'comments' for sedTom Ryder2018-06-291-0/+21
|
* Define 'comments' for AWKTom Ryder2018-06-291-0/+21
|
* Reduce shell format ftplugin to just 'comments'Tom Ryder2018-06-291-6/+5
|
* Add 'comments' settings for sh filetypeTom Ryder2018-06-291-0/+22
|
* Set 'include' and 'path' specifically in C/C++Tom Ryder2018-06-292-0/+44
| | | | | | Otherwise, use defaults that should be meaningful in other languages too, just to be tidy and not to show string.h in :find results when editing Awk scripts.
* Clear away VimL mapping rubbishTom Ryder2018-06-261-0/+37
|
* Missed an ftplugin map: HTML URL linkingTom Ryder2018-06-251-9/+0
|
* Move all local bindings out into .vimrcTom Ryder2018-06-2510-90/+0
| | | | This is the natural way of things, I think.
* Add after/ftplugin for gitcommit to quote with >Tom Ryder2018-06-201-0/+25
| | | | | | I love the way this works when writing mail, and find myself missing it when writing Git commits that include block quotes. This is ported from ftplugin/mail.vim.
* Use autoload function for tidy filtersTom Ryder2018-06-172-26/+12
|
* Use autoload function for temp-makeprg :lmakeTom Ryder2018-06-178-165/+55
|
* Arrange for tidiers to hold window positionTom Ryder2018-06-172-2/+16
|
* Completely overhaul after/ftplugin filesTom Ryder2018-06-1718-356/+346
| | | | | | | | | | | | | 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
* Use short-circuit for no-mapping checkTom Ryder2018-06-1611-197/+197
|
* Use `function!` consistently in ftpluginsTom Ryder2018-06-168-104/+88
|
* Spin off markdown_autoformat as its own distroTom Ryder2018-06-051-108/+0
|
* Restore ftplugin extras to vim/after dirTom Ryder2018-06-053-0/+186
| | | | | This reverts commit a14bc50. Changed my mind; decided it's tidier this way.
* Move Markdown and PHP ftplugins from after dirTom Ryder2018-06-043-174/+0
| | | | | | | Because we use our own private copies of the primary filetype plugins, they'll get loaded in the correct order from here. Also adjust Makefile to accommodate the extra level.
* Support counts and registers in paste wrappingTom Ryder2018-06-041-3/+3
|
* Rearrange/correct markdown_autoformat.vimTom Ryder2018-06-041-19/+9
|
* Use case-insensitive Vim ==#Tom Ryder2018-06-043-3/+3
|
* Clear markdown_autoformat.vim autocmds correctlyTom Ryder2018-06-041-1/+1
|
* Move markdown_autoformat.vim funcs back to localTom Ryder2018-06-041-4/+64
| | | | No advantage to making them autoload
* Don't load my HTML ftplugins for Markdown typesTom Ryder2018-06-043-3/+15
| | | | | | The stock markdown.vim file loads in all the html.vim ftplugins too. This is probably a good idea for the stock files, but none of my HTML extension plugins are appropriate for Markdown, so exclude them.
* Set and clear Markdown autocmd in groupTom Ryder2018-06-041-4/+13
|
* Use heuristics on Markdown to guess autoformatTom Ryder2018-06-041-0/+4
|
* Refactor suspend_autoformat.vim, add autoloadTom Ryder2018-06-042-34/+33
| | | | | | | | * Add a function to suspend autoformatting for the duration of pasting lines. * Factor the ftplugin's functions out to be autoloaded; this requires Vim >=7.0, but it already needed that. * Add Makefile infrastructure for new autoload directories/files.
* Correct logic of Markdown/text spell checkingTom Ryder2018-06-032-14/+18
|
* Vim ftplugin: hold autoformat in *.md code blocksTom Ryder2018-06-031-0/+34
|
* Refactor Vim distribution plugin/macro handlingTom Ryder2018-06-021-0/+10
| | | | | | Intelligently choose how to load matchit.vim, and clean up the short-circuit variables for the unwanted distribution plugins in an "after" plugin script.
* Suspend 'C' from 'cpoptions' for sh syn extensionsTom Ryder2018-01-211-0/+12
| | | | This allows me to use line-breaking to keep the file readable.
* Break some continued lines in Vim indent filesTom Ryder2018-01-211-2/+2
| | | | | This will mean they load correctly when the 'C' flag preventing line-breaking is in 'cpoptions', and 'compatible' is set.
* Remove HTML and PHP syntax highlighting tweaksTom Ryder2018-01-172-5/+0
| | | | | The things they were intended to fix aren't actually that bad, on review.
* Clear unwanted syntax group, don't link to NONETom Ryder2018-01-171-1/+1
|
* Add syntax checking with zsh -n for Z shellTom Ryder2017-11-231-0/+49
|
* Add `php -l` check binding for PHP filetypeTom Ryder2017-11-201-0/+57
| | | | | | Interestingly, the :compiler for the "php" filetype doesn't include the % or %:S bit in the `makeprg`, but that's easily worked around by moving that logic into the check script itself.
* Force g:current_compiler removal before check/lintTom Ryder2017-11-194-0/+4
| | | | This seems to be necessary for Vim 6.
* Use quickfix window for check/lintTom Ryder2017-11-196-12/+12
|
* Use :compiler quickfix systems for Vim/HTML lintTom Ryder2017-11-192-2/+28
|
* Use :compiler scripts for makeprg setupTom Ryder2017-11-192-4/+2
| | | | | | | | | | | | 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.
* Add :lwindow support to Perl check/lintTom Ryder2017-11-192-2/+30
| | | | | | The checker is a bit dicey; I hope that format is reliable. It may turn out to be better to depend on Vi::QuickFix or a similar module. We'll see.
* Adapt sh check/lint to use :lmakeTom Ryder2017-11-192-10/+42
| | | | | This opens the error list in the location list for the error list if there were any. It seems to work well.
* Use single-quotes for strings in sh.vimTom Ryder2017-11-151-1/+1
|
* Use full word "syntax" in sh.vimTom Ryder2017-11-151-3/+3
|
* Merge branch 'feature/vim-sh' into developTom Ryder2017-11-151-0/+15
|\ | | | | | | | | * feature/vim-sh: Coax sh.vim into accepting #/% param expansion
| * Coax sh.vim into accepting #/% param expansionTom Ryder2017-11-151-0/+15
| | | | | | | | These forms of parameter expansion are specified in POSIX sh.