aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/tsv.vim
Commit message (Collapse)AuthorAgeFilesLines
* Spruce up CSV and TSV Vim filetype scriptsTom Ryder2019-06-141-11/+2
|
* Set b:did_ftplugin flag in Vim ftpluginsTom Ryder2018-11-291-0/+1
|
* Clean up existing ftplugins a bitTom Ryder2018-07-101-2/+4
|
* Add comments to vim ftpluginsTom Ryder2018-06-301-0/+3
|
* Add CSV, TSV, and password file filetypesTom Ryder2018-06-301-0/+5
|
* Move filetype-specific indent options into indent/Tom Ryder2017-10-301-3/+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 detection, tweak indent/whitespace for CSV/TSVTom Ryder2017-10-301-0/+3
Vim does not seem to have any built-in detection or settings for CSV or TSV files, so I've added a couple here, based on filename patterns matching the .csv and .tsv extensions. If either of these types are detected, the 'autoindent' and 'expandtab' options are both switched off, as they're undesirable, especially in TSVs where a literal tab is almost certainly what's intended. Ideally, these same two setting would apply to any filetype not otherwise categorisable, but I can't figure out a way to do that safely yet; there was an attempt made in d3d998c.