diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-02-27 11:56:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-27 11:56:30 +0100 |
commit | 9d3370a14429587303d3abe6d4ece71342f5e4b5 (patch) | |
tree | abff6a0068dc2809c3f43a4af3b13fe037498b42 /runtime/doc/undo.txt | |
parent | 7dd2b0b79a34a7b3560971bc7c1466621134e469 (diff) | |
download | rneovim-9d3370a14429587303d3abe6d4ece71342f5e4b5.tar.gz rneovim-9d3370a14429587303d3abe6d4ece71342f5e4b5.tar.bz2 rneovim-9d3370a14429587303d3abe6d4ece71342f5e4b5.zip |
vim-patch:c51cf0329809 (#17530)
Update runtime files.
https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index b11d7581ed..a853aea995 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -272,12 +272,12 @@ history file. E.g.: > au BufReadPost * call ReadUndo() au BufWritePost * call WriteUndo() func ReadUndo() - if filereadable(expand('%:h'). '/UNDO/' . expand('%:t')) + if filereadable(expand('%:h') .. '/UNDO/' .. expand('%:t')) rundo %:h/UNDO/%:t endif endfunc func WriteUndo() - let dirname = expand('%:h') . '/UNDO' + let dirname = expand('%:h') .. '/UNDO' if !isdirectory(dirname) call mkdir(dirname) endif |