Revisión | 70ac8f94fc23cd85391a5267e4893a7b8cdb331d (tree) |
---|---|
Tiempo | 2023-02-09 21:56:39 |
Autor | badcoff33 <none@none> |
Commiter | badcoff33 |
create undo/backup dirs
@@ -88,10 +88,12 @@ set magic | ||
88 | 88 | set wrapscan |
89 | 89 | |
90 | 90 | set backup |
91 | +execute mkdir(getenv('LOCALAPPDATA') .. g:slash .. join(["vim", "backup"], g:slash) , "p") | |
91 | 92 | execute 'set backupdir=' .. getenv('LOCALAPPDATA') .. '\vim\backup' |
92 | 93 | set wildignore+=*/backup/* |
93 | 94 | |
94 | 95 | set undofile |
96 | +execute mkdir(getenv('LOCALAPPDATA') .. g:slash .. join(["vim", "undo"], g:slash) , "p") | |
95 | 97 | execute 'set undodir=' .. getenv('LOCALAPPDATA') .. '\vim\undo' |
96 | 98 | set wildignore+=*/undo/* |
97 | 99 |