cmp-cmdline icon indicating copy to clipboard operation
cmp-cmdline copied to clipboard

command :pwd does not print the working directory

Open wanghuibin0 opened this issue 3 years ago • 2 comments

When I enable this plugin and call :pwd, it does not print the working directory but print the current file name.

On the other hand, when I disable this plugin, this issue goes away. So I think this plugin may cause this issue.

image image

wanghuibin0 avatar Feb 18 '22 15:02 wanghuibin0

Try with some minimal config, as it works as expected for me, so perhaps something else in your configuration interacts.

gegoune avatar Feb 18 '22 15:02 gegoune

Try with some minimal config, as it works as expected for me, so perhaps something else in your configuration interacts.

After trying with some minimal configs, I have found two points. They are: image

  1. When I comment out {name='cmdline'}, the issue goes away. image
  2. When I comment out set shortmess, the issue goes away.

I think something in cmp-cmdline conflicts with the shortmess option. But I don't know what it is. Do you have any idea?

wanghuibin0 avatar Feb 19 '22 03:02 wanghuibin0