fannheyward / coc-markdownlint

markdownlint extension for coc.nvim
MIT License
170 stars 2 forks source link

[question] No any warning dispayed in Windows 11 and PowerSehll 7. #495

Closed SetsuikiHyoryu closed 1 year ago

SetsuikiHyoryu commented 1 year ago

I tried write some wrong style, but no any warning displayed.

image

This is my CocList, and coc-markdownlint is in this list:

image

And I tried CocList commands but it tell me No result for search markdownlint commands:

image

My OS is windows 11, and using PowerShell 7.

fannheyward commented 1 year ago

Sorry I don't have a Win 11+PowerShell env to debug this. The document is checked by markdownlint and reports diagnostics to coc-markdownlint to display, maybe there's something broken with markdownlint on this env.

SetsuikiHyoryu commented 1 year ago

Sorry I don't have a Win 11+PowerShell env to debug this. The document is checked by markdownlint and reports diagnostics to coc-markdownlint to display, maybe there's something broken with markdownlint on this env.

I used markdownlint in VSCode is no problem. Maybe it has some problem on powershell.

fannheyward commented 1 year ago

@SetsuikiHyoryu try https://github.com/DavidAnson/markdownlint-cli2 with PowerShell, does it work?

SetsuikiHyoryu commented 1 year ago

@SetsuikiHyoryu try https://github.com/DavidAnson/markdownlint-cli2 with PowerShell, does it work?

image image

@fannheyward It worked on command line, but nothing in neovim. And also no any information in git bash on windows(I'm not sure less then 11).

fannheyward commented 1 year ago

Any errors in :CocCommand workspace.showOutput markdownlint?

SetsuikiHyoryu commented 1 year ago

Any errors in :CocCommand workspace.showOutput markdownlint?

image

No any messages.

fannheyward commented 1 year ago

:CocCommand workspace.showOutput markdownlint should open a new buffer, displayed markdownlint configs:

截屏2023-01-31 16 17 30
SetsuikiHyoryu commented 1 year ago

:CocCommand workspace.showOutput markdownlint should open a new buffer, displayed markdownlint configs:

截屏2023-01-31 16 17 30
image image

It looks like fail to create buffer.

fannheyward commented 1 year ago

:CocCommand workspace.showOutput ?

SetsuikiHyoryu commented 1 year ago

:CocCommand workspace.showOutput ?

image

Oh, something displayed.

SetsuikiHyoryu commented 1 year ago
image

It displayed prettier info where I choosed 2.

fannheyward commented 1 year ago

It's strange that no markdownlint displayed in the list. What's your :CocInfo and :CocOpenLog?

截屏2023-01-31 16 29 21
SetsuikiHyoryu commented 1 year ago
image image

Looks like something wrong.

fannheyward commented 1 year ago

Upgrade your coc.nvim please. The URL is not defined error is caused by extension sandbox env, coc has fixed this in latest release.

SetsuikiHyoryu commented 1 year ago

Upgrade your coc.nvim please. The URL is not defined error is caused by extension sandbox env, coc has fixed this in latest release.

Thankyou! I'm going to try it. If succeed, I will close this issue.

fannheyward commented 1 year ago

https://github.com/neoclide/coc.nvim/issues/3963

SetsuikiHyoryu commented 1 year ago

Thankyou! It works now.