aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
Commit message (Collapse)AuthorAgeFilesLines
* Break long lines in check/lint/tidy mappingsTom Ryder2017-11-041-3/+8
|
* Make all lint/check/tidy maps local and silentTom Ryder2017-11-041-3/+3
| | | | | | That is, apply <buffer> and <silent> to each of them, to make them only apply to the current buffer and to prevent them from echoing the command they're running.
* Improve comments on check/lint/tidy mapsTom Ryder2017-11-031-3/+3
|
* Use direct :write !cmd instead of shellescape()Tom Ryder2017-11-031-11/+6
| | | | | | | | | This is a much better method of calling external programs on the buffer's contents, not just because it avoids the mess of :execute evaluation but also because it doesn't require that there actually be a filename for the current buffer. This drastically simplifies the HTML tidy(1) call in particular.
* Use full ':execute' not just ':exe' in VimLTom Ryder2017-11-031-2/+2
| | | | We should probably avoid this sort of abbreviation in scripts.
* Check for availability of Vim shellescape()Tom Ryder2017-11-031-6/+11
| | | | | It doesn't seem to be in very old Vims; worth testing for to avoid errors if I try to use the function.
* Use <Leader>/<LocalLeader> correctly in Vim configTom Ryder2017-11-031-3/+3
| | | | | | | From ":help <LocalLeader>": > In a global plugin <Leader> should be used and in a filetype plugin > <LocalLeader>. "mapleader" and "maplocalleader" can be equal.
* Move filetype-specific indent options into indent/Tom Ryder2017-10-301-7/+0
| | | | | | I'm still getting used to the structure of the configuration here, and had mistakenly put these indent-related settings into files in the ftplugin directory.
* Add some more file-specific indent preferencesTom Ryder2017-10-301-0/+7
| | | | | | | | | | For some languages in which I write often: C, HTML, Perl, PHP, and shell scripts. All of these values presently match the defaults specified in config/indent.vim, but for languages I commonly use it's probably appropriate to have files to set the indent settings explicitly anyway, especially if we switched from a filetype with different values.
* Move vim/after/ftplugin files into vim/ftpluginTom Ryder2017-10-301-0/+6
None of the settings in here need to be run after the core configuration files are loaded, so I'll put them in a slightly more accessible or logical place. This adds a new target `install-vim-ftplugin`, and makes that a prerequisite of the `install-vim` target.