Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Return empty values for XDG on non-Unix | Tom Ryder | 2022-06-30 | 1 | -6/+6 |
| | | | | This saves a mess of conditions in vimrc. | ||||
* | Add XDG_STATE_HOME to XDG support | Tom Ryder | 2022-05-09 | 1 | -0/+5 |
| | |||||
* | Spin Vim HTML lang switching out into plugin | Tom Ryder | 2022-05-09 | 1 | -57/+0 |
| | |||||
* | Support <main> element for HTML Vim lang detection | Tom Ryder | 2022-05-08 | 1 | -5/+5 |
| | |||||
* | Add lang=-to-'spelllang' hooks for HTML filetype | Tom Ryder | 2022-05-05 | 1 | -0/+57 |
| | |||||
* | Remove <strong> tag from HTML timestamp prefix | Tom Ryder | 2021-04-25 | 1 | -1/+1 |
| | |||||
* | Remove unneeded local var prefixes | Tom Ryder | 2020-11-13 | 1 | -3/+3 |
| | |||||
* | Condense a :set line | Tom Ryder | 2020-11-13 | 1 | -2/+1 |
| | |||||
* | Remove unneeded load guard | Tom Ryder | 2020-11-13 | 1 | -9/+0 |
| | |||||
* | Inline environment retrieval to save a file load | Tom Ryder | 2020-10-06 | 2 | -21/+5 |
| | |||||
* | Rewrite comments in patch#() | Tom Ryder | 2020-10-06 | 1 | -5/+13 |
| | |||||
* | Tweak comment | Tom Ryder | 2020-10-06 | 1 | -1/+1 |
| | |||||
* | Correct patch#() relay to has() to add prefix | Tom Ryder | 2020-10-06 | 1 | -1/+1 |
| | |||||
* | Change parameter name for patch#() function | Tom Ryder | 2020-10-06 | 1 | -3/+3 |
| | |||||
* | Refactor patch testing into new patch#() wrapper | Tom Ryder | 2020-10-03 | 3 | -35/+28 |
| | | | | This is a little more efficient, and perhaps a bit clearer, too. | ||||
* | Move plugin-dependent config to vim/after files | Tom Ryder | 2020-09-17 | 1 | -7/+0 |
| | |||||
* | Remove fortune.vim plugin | Tom Ryder | 2020-06-01 | 1 | -59/+0 |
| | | | | Fun idea but not really that useful. | ||||
* | Spin put_date.vim out into its own plugin | Tom Ryder | 2020-05-31 | 1 | -24/+0 |
| | |||||
* | Spin detect_indent.vim out into its own plugin | Tom Ryder | 2020-05-30 | 1 | -108/+0 |
| | |||||
* | Use :function! and `abort` in autoload | Tom Ryder | 2020-05-30 | 1 | -2/+2 |
| | |||||
* | Make properties of detect_indent.vim configgable | Tom Ryder | 2020-05-30 | 1 | -5/+7 |
| | |||||
* | Arrange and comment code for new plugin | Tom Ryder | 2020-05-30 | 1 | -9/+58 |
| | | | | Nearly done | ||||
* | Correct b:undo_indent setting in detect_indent.vim | Tom Ryder | 2020-05-30 | 1 | -1/+1 |
| | |||||
* | Split detect_indent.vim into autoload/plugin | Tom Ryder | 2020-05-30 | 1 | -0/+57 |
| | | | | Add load guard etc | ||||
* | Write out over-engineered path creation function | Tom Ryder | 2020-05-16 | 1 | -14/+0 |
| | |||||
* | Switch XDG semantics to functions not global var | Tom Ryder | 2020-05-16 | 1 | -13/+19 |
| | |||||
* | Simplify Vim XDG subdir definition | Tom Ryder | 2020-05-16 | 1 | -4/+2 |
| | | | | YAGNI | ||||
* | Use $HOME not tildes for XDG basedir defaults | Tom Ryder | 2020-05-16 | 1 | -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 update | Tom Ryder | 2020-05-11 | 1 | -1/+1 |
| | |||||
* | Some spelling fixes | Tom Ryder | 2020-05-09 | 5 | -7/+7 |
| | |||||
* | Make copies for map(), filter(), and reverse() | Tom Ryder | 2020-05-09 | 2 | -2/+2 |
| | | | | | I really should have remembered this. Caused broken 'thesaurus' entries, in this case. | ||||
* | Merge branch 'hotfix/v8.25.2' into develop | Tom Ryder | 2020-05-03 | 2 | -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 routines | Tom Ryder | 2020-05-03 | 2 | -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 basedir | Tom Ryder | 2020-05-03 | 1 | -1/+1 |
|/ | |||||
* | Use v:null in XDG-related contexts | Tom Ryder | 2020-05-03 | 1 | -1/+1 |
| | | | | I hadn't realised it was supported in Vim v7.0. | ||||
* | Improve "absolute path" check for XDG base dirs | Tom Ryder | 2020-05-03 | 1 | -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() fallback | Tom Ryder | 2020-05-03 | 2 | -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.1 | Tom Ryder | 2020-04-26 | 1 | -3/+7 |
| | |||||
* | Refactor adjusted XDG handling | Tom Ryder | 2020-04-25 | 1 | -19/+13 |
| | |||||
* | Improve compliance/sanity of XDG implementation | Tom Ryder | 2020-04-25 | 1 | -18/+27 |
| | |||||
* | Handle invalid XDG cache home | Tom Ryder | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Correct absolute test | Tom Ryder | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Handle ignoring relative paths in XDG env dirs | Tom Ryder | 2020-04-25 | 1 | -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 readability | Tom Ryder | 2020-04-25 | 1 | -15/+26 |
| | |||||
* | Implement specified fallbacks for $XDG_*_DIRS | Tom Ryder | 2020-04-25 | 1 | -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 Vim | Tom Ryder | 2020-04-25 | 1 | -0/+35 |
| | | | | This obsoletes custom $MYVIM variables. | ||||
* | Call path create rather than command | Tom Ryder | 2020-04-06 | 1 | -2/+2 |
| | | | | Prevents issues with premature expansion of env variables. | ||||
* | Vim: Use more correct method of escaping :set RHS | Tom Ryder | 2020-04-05 | 2 | -8/+6 |
| | |||||
* | Update pattern to match for HTML timestamps | Tom Ryder | 2020-02-13 | 1 | -1/+1 |
| | |||||
* | Remove milliseconds from HTML timestamps | Tom Ryder | 2020-01-13 | 1 | -1/+1 |
| |