neovim icon indicating copy to clipboard operation
neovim copied to clipboard

Neovim is Incorrectly Configured on Windows Installations

Open Kaweees opened this issue 2 years ago • 3 comments

Neovim version (nvim -v)

v0.7.2

Vim (not Nvim) behaves the same?

Problem specific to neovim

Operating system/version

Windows 10 10.0.19044

Terminal name/version

Powershell 5.1

$TERM environment variable

N/A

Installation

CLI via Chocolatey

How to reproduce the issue

Install Neovim via Chocolatey: choco install neovim -y

Expected behavior

According to the documentation, the Neovim configuration files should be found at: ~/AppData/Local/nvim/init.vim

Actual behavior

However, upon running: :help nvim-configuration on Neovim, we see that Neovim has set the directory of the configuration files to be at ``~/AppData/Local/nvim-data/init.vimwhen in reality it is found at~/AppData/Local/nvim-data/init.vim`

Thank you for your time and patience

Kaweees avatar Sep 09 '22 07:09 Kaweees

:help nvim-configuration

This help tag doesn't exist.

zeertzjq avatar Sep 09 '22 07:09 zeertzjq

My apologies, I think I ran this command instead :echo stdpath('config')

Kaweees avatar Sep 09 '22 16:09 Kaweees

is this a duplicate of https://github.com/neovim/neovim/issues/18349 ?

justinmk avatar Sep 11 '22 22:09 justinmk

@Kaweees is your bug report correct? For me, init.vim exists, is found and used at "~/AppData/Local/nvim". You can get the location of config directory, as you already said, with :echo stdpath('config'). For me the output is "~/AppData/Local/nvim". I suspect you ran the command echo stdpath('data'), whose value indeed is ~/AppData/Local/nvim-data, which is what's expected.

TL;DR: I can't reproduce the bug.

3N4N avatar Apr 12 '23 10:04 3N4N