Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add variable existence guard to after/indent/vim | Tom Ryder | 2018-06-30 | 1 | -1/+3 |
| | |||||
* | Remove unneeded matchit set ex PHP after ftplugin | Tom Ryder | 2018-06-30 | 1 | -12/+0 |
| | |||||
* | Conform all after/ftplugin files | Tom Ryder | 2018-06-30 | 3 | -9/+18 |
| | |||||
* | Join some b:undo_ftplugin addenda | Tom Ryder | 2018-06-30 | 7 | -13/+7 |
| | |||||
* | Review vim/ftplugin and vim/indent files | Tom Ryder | 2018-06-30 | 2 | -4/+20 |
| | |||||
* | Refactor ftplugins into single files | Tom Ryder | 2018-06-30 | 45 | -815/+331 |
| | | | | Each thereby effectively becomes its own .vimrc for that type. | ||||
* | Add g:no_plugin_maps checks for ftplugin maps.vim | Tom Ryder | 2018-06-29 | 8 | -0/+40 |
| | |||||
* | Use ftplugins for filetype mappings instead | Tom Ryder | 2018-06-29 | 8 | -11/+170 |
| | |||||
* | Refine 'comments' ftplugins further | Tom Ryder | 2018-06-29 | 4 | -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 ftplugins | Tom Ryder | 2018-06-29 | 2 | -2/+2 |
| | |||||
* | Add Vim ftplugin to set 'comments' for sed | Tom Ryder | 2018-06-29 | 1 | -0/+21 |
| | |||||
* | Define 'comments' for AWK | Tom Ryder | 2018-06-29 | 1 | -0/+21 |
| | |||||
* | Reduce shell format ftplugin to just 'comments' | Tom Ryder | 2018-06-29 | 1 | -6/+5 |
| | |||||
* | Add 'comments' settings for sh filetype | Tom Ryder | 2018-06-29 | 1 | -0/+22 |
| | |||||
* | Set 'include' and 'path' specifically in C/C++ | Tom Ryder | 2018-06-29 | 2 | -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 rubbish | Tom Ryder | 2018-06-26 | 1 | -0/+37 |
| | |||||
* | Missed an ftplugin map: HTML URL linking | Tom Ryder | 2018-06-25 | 1 | -9/+0 |
| | |||||
* | Move all local bindings out into .vimrc | Tom Ryder | 2018-06-25 | 10 | -90/+0 |
| | | | | This is the natural way of things, I think. | ||||
* | Add after/ftplugin for gitcommit to quote with > | Tom Ryder | 2018-06-20 | 1 | -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 filters | Tom Ryder | 2018-06-17 | 2 | -26/+12 |
| | |||||
* | Use autoload function for temp-makeprg :lmake | Tom Ryder | 2018-06-17 | 8 | -165/+55 |
| | |||||
* | Arrange for tidiers to hold window position | Tom Ryder | 2018-06-17 | 2 | -2/+16 |
| | |||||
* | Completely overhaul after/ftplugin files | Tom Ryder | 2018-06-17 | 18 | -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 check | Tom Ryder | 2018-06-16 | 11 | -197/+197 |
| | |||||
* | Use `function!` consistently in ftplugins | Tom Ryder | 2018-06-16 | 8 | -104/+88 |
| | |||||
* | Spin off markdown_autoformat as its own distro | Tom Ryder | 2018-06-05 | 1 | -108/+0 |
| | |||||
* | Restore ftplugin extras to vim/after dir | Tom Ryder | 2018-06-05 | 3 | -0/+186 |
| | | | | | This reverts commit a14bc50. Changed my mind; decided it's tidier this way. | ||||
* | Move Markdown and PHP ftplugins from after dir | Tom Ryder | 2018-06-04 | 3 | -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 wrapping | Tom Ryder | 2018-06-04 | 1 | -3/+3 |
| | |||||
* | Rearrange/correct markdown_autoformat.vim | Tom Ryder | 2018-06-04 | 1 | -19/+9 |
| | |||||
* | Use case-insensitive Vim ==# | Tom Ryder | 2018-06-04 | 3 | -3/+3 |
| | |||||
* | Clear markdown_autoformat.vim autocmds correctly | Tom Ryder | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Move markdown_autoformat.vim funcs back to local | Tom Ryder | 2018-06-04 | 1 | -4/+64 |
| | | | | No advantage to making them autoload | ||||
* | Don't load my HTML ftplugins for Markdown types | Tom Ryder | 2018-06-04 | 3 | -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 group | Tom Ryder | 2018-06-04 | 1 | -4/+13 |
| | |||||
* | Use heuristics on Markdown to guess autoformat | Tom Ryder | 2018-06-04 | 1 | -0/+4 |
| | |||||
* | Refactor suspend_autoformat.vim, add autoload | Tom Ryder | 2018-06-04 | 2 | -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 checking | Tom Ryder | 2018-06-03 | 2 | -14/+18 |
| | |||||
* | Vim ftplugin: hold autoformat in *.md code blocks | Tom Ryder | 2018-06-03 | 1 | -0/+34 |
| | |||||
* | Refactor Vim distribution plugin/macro handling | Tom Ryder | 2018-06-02 | 1 | -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 extensions | Tom Ryder | 2018-01-21 | 1 | -0/+12 |
| | | | | This allows me to use line-breaking to keep the file readable. | ||||
* | Break some continued lines in Vim indent files | Tom Ryder | 2018-01-21 | 1 | -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 tweaks | Tom Ryder | 2018-01-17 | 2 | -5/+0 |
| | | | | | The things they were intended to fix aren't actually that bad, on review. | ||||
* | Clear unwanted syntax group, don't link to NONE | Tom Ryder | 2018-01-17 | 1 | -1/+1 |
| | |||||
* | Add syntax checking with zsh -n for Z shell | Tom Ryder | 2017-11-23 | 1 | -0/+49 |
| | |||||
* | Add `php -l` check binding for PHP filetype | Tom Ryder | 2017-11-20 | 1 | -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/lint | Tom Ryder | 2017-11-19 | 4 | -0/+4 |
| | | | | This seems to be necessary for Vim 6. | ||||
* | Use quickfix window for check/lint | Tom Ryder | 2017-11-19 | 6 | -12/+12 |
| | |||||
* | Use :compiler quickfix systems for Vim/HTML lint | Tom Ryder | 2017-11-19 | 2 | -2/+28 |
| | |||||
* | Use :compiler scripts for makeprg setup | Tom Ryder | 2017-11-19 | 2 | -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. |