Skip to content

has('wsl') not set in NeoVim 0.6.0 in WSL on Windows 11 #16143

Closed

Description

Neovim version (nvim -v)

NVIM v0.6.0-dev

Vim (not Nvim) behaves the same?

yes (has('wsl') is not a Vim feature)

Operating system/version

Windows 11, Ubuntu on WSL

Terminal name/version

Alacritty (running in Windows)

$TERM environment variable

xterm-256color

Installation

apt install from ppa:neovim-ppa/unstable

How to reproduce the issue

nvim --clean
:echo has('wsl')

Expected behavior

Prints 1

Actual behavior

Prints 0

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions