mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
host.vim: expand $MYVIMRC. #3342
According to the vim helpfile: > fnamemodify({fname}, {mods}) > ... > Note: Environment variables don't work in {fname}, use > expand() first then. So this causes issues if your $MYVIMRC contains environment variables (e.g. $XDG_CONFIG_HOME)
This commit is contained in:
parent
6bcbb18dc8
commit
5613b62224
@ -1,6 +1,6 @@
|
||||
let s:hosts = {}
|
||||
let s:plugin_patterns = {}
|
||||
let s:remote_plugins_manifest = fnamemodify($MYVIMRC, ':p:h')
|
||||
let s:remote_plugins_manifest = fnamemodify(expand($MYVIMRC, 1), ':h')
|
||||
\.'/.'.fnamemodify($MYVIMRC, ':t').'-rplugin~'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user