Skip to content
Discussion options

You must be logged in to vote

我之前也遇到过,没什么好办法,就把cmdline 补全取消了。搜了一下官网这个 issues在跟踪这个问题 hrsh7th/cmp-cmdline#24

看到的方法有

{ name = 'cmdline', keyword_pattern=[=[[^[:blank:]\!]*]=]}

或者设置 /etc/wsl.conf 把windows path取消

# Set whether WSL supports interop process like launching Windows apps and
# adding path variables. Setting these to false will block the launch of
# Windows processes and block adding $PATH environment variables.
[interop]
#enabled = false
appendWindowsPath = false

我现在用mac,还没试过不知道好用不。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HUAHUAI23
Comment options

@HUAHUAI23
Comment options

Answer selected by nshen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants