-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
defaultsNvim defaults for options, colorscheme/theme, autocmds/events, etc.Nvim defaults for options, colorscheme/theme, autocmds/events, etc.platform:windows
Milestone
Description
nvim --version
:
NVIM v0.3.4
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG -DMIN_LOG_LEVEL=3 /W3 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -D_WIN32_WINNT=0x0600 -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/neovim/.deps/usr/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include
Compiled by appveyor@APPVYR-WIN
Features: -acl +iconv -jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM\sysinit.vim"
fall-back for $VIM: "C:/Program Files/nvim/share/nvim"
Run :checkhealth for more info
- Vim (version: ) behaves differently? (neovim-specific functionality)
- Operating system/version: Windows 7
- Terminal name/version: (N/A)
$TERM
: (N/A)
Steps to reproduce using nvim -u NORC
(set XDG_CONFIG_HOME and XDG_DATA_HOME to two different paths)
nvim -u NORC
:echo stdpath('data')
:set runtimepath?
:quit
Actual behaviour
(Newlines added and XDG_*_HOME variables inlined for clarity)
$XDG_DATA_HOME\nvim-data
runtimepath=
$XDG_CONFIG_HOME\nvim
$XDG_DATA_HOME\nvim\site
$NVIM_INSTALL_PATH\share\nvim\runtime
$XDG_DATA_HOME\nvim\site\after
$XDG_CONFIG_HOME\nvim\after
Expected behaviour
Either:
$XDG_DATA_HOME\nvim-data
runtimepath=
$XDG_CONFIG_HOME\nvim
$XDG_DATA_HOME\nvim-data\site
$NVIM_INSTALL_PATH\share\nvim\runtime
$XDG_DATA_HOME\nvim-data\site\after
$XDG_CONFIG_HOME\nvim\after
or:
$XDG_DATA_HOME\nvim
runtimepath=
$XDG_CONFIG_HOME\nvim
$XDG_DATA_HOME\nvim\site
$NVIM_INSTALL_PATH\share\nvim\runtime
$XDG_DATA_HOME\nvim\site\after
$XDG_CONFIG_HOME\nvim\after
The upshot of this is that Neovim expects the site
directory (and others, but I have not explicitly confirmed this) to be at $XDG_DATA_HOME/nvim/site
, but creates most of the other data directories (log
, shada
, swap
, etc.) under $XDG_DATA_HOME/nvim-data/site
, and there is no easy way to reference the former directory inside nvim.
Metadata
Metadata
Assignees
Labels
defaultsNvim defaults for options, colorscheme/theme, autocmds/events, etc.Nvim defaults for options, colorscheme/theme, autocmds/events, etc.platform:windows