aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
Commit message (Collapse)AuthorAgeFilesLines
* Return empty values for XDG on non-UnixTom Ryder2022-06-301-6/+6
| | | | This saves a mess of conditions in vimrc.
* Add XDG_STATE_HOME to XDG supportTom Ryder2022-05-091-0/+5
|
* Spin Vim HTML lang switching out into pluginTom Ryder2022-05-091-57/+0
|
* Support <main> element for HTML Vim lang detectionTom Ryder2022-05-081-5/+5
|
* Add lang=-to-'spelllang' hooks for HTML filetypeTom Ryder2022-05-051-0/+57
|
* Remove <strong> tag from HTML timestamp prefixTom Ryder2021-04-251-1/+1
|
* Remove unneeded local var prefixesTom Ryder2020-11-131-3/+3
|
* Condense a :set lineTom Ryder2020-11-131-2/+1
|
* Remove unneeded load guardTom Ryder2020-11-131-9/+0
|
* Inline environment retrieval to save a file loadTom Ryder2020-10-062-21/+5
|
* Rewrite comments in patch#()Tom Ryder2020-10-061-5/+13
|
* Tweak commentTom Ryder2020-10-061-1/+1
|
* Correct patch#() relay to has() to add prefixTom Ryder2020-10-061-1/+1
|
* Change parameter name for patch#() functionTom Ryder2020-10-061-3/+3
|
* Refactor patch testing into new patch#() wrapperTom Ryder2020-10-033-35/+28
| | | | This is a little more efficient, and perhaps a bit clearer, too.
* Move plugin-dependent config to vim/after filesTom Ryder2020-09-171-7/+0
|
* Remove fortune.vim pluginTom Ryder2020-06-011-59/+0
| | | | Fun idea but not really that useful.
* Spin put_date.vim out into its own pluginTom Ryder2020-05-311-24/+0
|
* Spin detect_indent.vim out into its own pluginTom Ryder2020-05-301-108/+0
|
* Use :function! and `abort` in autoloadTom Ryder2020-05-301-2/+2
|
* Make properties of detect_indent.vim configgableTom Ryder2020-05-301-5/+7
|
* Arrange and comment code for new pluginTom Ryder2020-05-301-9/+58
| | | | Nearly done
* Correct b:undo_indent setting in detect_indent.vimTom Ryder2020-05-301-1/+1
|
* Split detect_indent.vim into autoload/pluginTom Ryder2020-05-301-0/+57
| | | | Add load guard etc
* Write out over-engineered path creation functionTom Ryder2020-05-161-14/+0
|
* Switch XDG semantics to functions not global varTom Ryder2020-05-161-13/+19
|
* Simplify Vim XDG subdir definitionTom Ryder2020-05-161-4/+2
| | | | YAGNI
* Use $HOME not tildes for XDG basedir defaultsTom Ryder2020-05-161-3/+3
| | | | | This is both closer to the spec, and also takes some of the pain out of expanding paths for use in options.
* Use :keepjumps for HTML timestamp updateTom Ryder2020-05-111-1/+1
|
* Some spelling fixesTom Ryder2020-05-095-7/+7
|
* Make copies for map(), filter(), and reverse()Tom Ryder2020-05-092-2/+2
| | | | | I really should have remembered this. Caused broken 'thesaurus' entries, in this case.
* Merge branch 'hotfix/v8.25.2' into developTom Ryder2020-05-032-10/+5
|\ | | | | | | | | | | * hotfix/v8.25.2: Copy, don't reference XDG basedir lists Write v:null back out of XDG routines
| * Write v:null back out of XDG routinesTom Ryder2020-05-032-10/+5
| | | | | | | | | | | | | | | | I had misconfigured my test machine, and was testing the latest Vim v8.2.x when I thought I was testing v7.0.0, which misled me into thinking v:null was defined on the latter version in commit 145998c. Reverse this and just use an empty string as the sentinel value; it's not strictly correct, but it doesn't matter much to XDG.
* | Remove trailing slashes from default XDG basedirTom Ryder2020-05-031-1/+1
|/
* Use v:null in XDG-related contextsTom Ryder2020-05-031-1/+1
| | | | I hadn't realised it was supported in Vim v7.0.
* Improve "absolute path" check for XDG base dirsTom Ryder2020-05-031-1/+3
| | | | | | | | | | * /foo/bar -- absolute * ~/foo -- absolute * / -- Weird, but absolute * ~ -- Weird, but absolute * foo -- Not absolute * foo/bar -- Not absolute * ~foo -- Not absolute
* Tidy and correct XDG var getenv() fallbackTom Ryder2020-05-032-11/+28
| | | | | | It's more correct for this function to get upset it's been passed a variable name outside the XDG basedirs spec; a more general function, in this case a backporting of getenv() from v8.1.1305.
* Backport environment checking to Vim 8.1Tom Ryder2020-04-261-3/+7
|
* Refactor adjusted XDG handlingTom Ryder2020-04-251-19/+13
|
* Improve compliance/sanity of XDG implementationTom Ryder2020-04-251-18/+27
|
* Handle invalid XDG cache homeTom Ryder2020-04-251-1/+1
|
* Correct absolute testTom Ryder2020-04-251-1/+1
|
* Handle ignoring relative paths in XDG env dirsTom Ryder2020-04-251-2/+9
| | | | | | | From <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#basics>: > All paths set in these environment variables must be absolute. If an > implementation encounters a relative path in any of these variables it > should consider the path invalid and ignore it.
* Factor out XDG env defaults for readabilityTom Ryder2020-04-251-15/+26
|
* Implement specified fallbacks for $XDG_*_DIRSTom Ryder2020-04-251-2/+2
| | | | | | | | | From <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables>: > If $XDG_DATA_DIRS is either not set or empty, a value equal to > /usr/local/share/:/usr/share/ should be used. > ... > If $XDG_CONFIG_DIRS is either not set or empty, a value equal to > /etc/xdg should be used.
* Include XDG_{CONFIG,DATA}_DIRS handling in VimTom Ryder2020-04-251-0/+35
| | | | This obsoletes custom $MYVIM variables.
* Call path create rather than commandTom Ryder2020-04-061-2/+2
| | | | Prevents issues with premature expansion of env variables.
* Vim: Use more correct method of escaping :set RHSTom Ryder2020-04-052-8/+6
|
* Update pattern to match for HTML timestampsTom Ryder2020-02-131-1/+1
|
* Remove milliseconds from HTML timestampsTom Ryder2020-01-131-1/+1
|