aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/autoload/xdg.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/autoload/xdg.vim b/vim/autoload/xdg.vim
index ab756f73..fd7ddedf 100644
--- a/vim/autoload/xdg.vim
+++ b/vim/autoload/xdg.vim
@@ -13,7 +13,7 @@ function! xdg#ConfigDirs(name) abort
\ : '~/.config'
let dirs = exists('$XDG_CONFIG_DIRS')
\ ? split($XDG_CONFIG_DIRS, ':')
- \ : []
+ \ : ['/etc/xdg']
return map(
\ insert(dirs, home)
\,'join([v:val, name], "/")'
@@ -27,7 +27,7 @@ function! xdg#DataDirs(name) abort
\ : '~/.local/share'
let dirs = exists('$XDG_DATA_DIRS')
\ ? split($XDG_DATA_DIRS, ':')
- \ : []
+ \ : ['/usr/local/share', '/usr/share']
return map(
\ insert(dirs, home)
\,'join([v:val, name], "/")'