runtime(xdg): remove // from 'undo' and 'viwedir'

Commit: 
https://github.com/vim/vim/commit/b9897ec27ecebb82c16a09c372c77589e1c8bcad
Author: Christian Brabandt <[email protected]>
Date:   Thu Feb 19 07:38:04 2026 +0100

    runtime(xdg): remove // from 'undo' and 'viwedir'
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/xdg.vim b/runtime/xdg.vim
index 254cb1248..1dfeccdb9 100644
--- a/runtime/xdg.vim
+++ b/runtime/xdg.vim
@@ -1,7 +1,7 @@
 " XDG Base Directory support
 " This script sets up paths for XDG compliance.
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2026 Feb 18
+" Last Change: 2026 Feb 19
 
 let s:config = empty($XDG_CONFIG_HOME) ? expand("~/.config") : 
expand("$XDG_CONFIG_HOME")
 let s:data   = empty($XDG_DATA_HOME)   ? expand("~/.local/share") : 
expand("$XDG_DATA_HOME")
@@ -31,8 +31,8 @@ if isdirectory(s:config .. '/vim')
   " while Swap/Backups use STATE_HOME as transient session state.
 
   " Persistent Data:
-  " let &undodir = s:mkvimdir(s:data .. '/vim/undo') .. '//'
-  " let &viewdir = s:mkvimdir(s:data .. '/vim/view') .. '//'
+  " let &undodir = s:mkvimdir(s:data .. '/vim/undo')
+  " let &viewdir = s:mkvimdir(s:data .. '/vim/view')
   " let g:netrw_home = s:mkvimdir(s:data .. '/vim')
   " call s:mkvimdir(s:data .. '/vim/spell')
 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vsxma-002A4C-R2%40256bit.org.

Raspunde prin e-mail lui