Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Spruce up CSV and TSV Vim filetype scripts | Tom Ryder | 2019-06-14 | 1 | -11/+2 |
| | |||||
* | Set b:did_ftplugin flag in Vim ftplugins | Tom Ryder | 2018-11-29 | 1 | -0/+1 |
| | |||||
* | Clean up existing ftplugins a bit | Tom Ryder | 2018-07-10 | 1 | -2/+4 |
| | |||||
* | Add comments to vim ftplugins | Tom Ryder | 2018-06-30 | 1 | -0/+3 |
| | |||||
* | Add CSV, TSV, and password file filetypes | Tom Ryder | 2018-06-30 | 1 | -0/+5 |
| | |||||
* | Move filetype-specific indent options into indent/ | Tom Ryder | 2017-10-30 | 1 | -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/TSV | Tom Ryder | 2017-10-30 | 1 | -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. |