iamcco / coc-diagnostic

diagnostic-languageserver extension for coc.nvim
245 stars 22 forks source link

vint not producing any suggestion #72

Closed lelutin closed 3 years ago

lelutin commented 3 years ago

Describe the bug I've configured the "vim" filetype to use the "vint" linter but I'm not getting any hints about problems that vint would have found.

To Reproduce coc-settings.json:

{
  "diagnostic-languageserver.filetypes": {
    "vim": "vint",
    "sh": "shellcheck"
  }
}

shellcheck does work, but vint doesn't

Expected behavior On a file for which vint produces many warnings, I would expect to see hints about those warnings in the gutter

Desktop (please complete the following information):

Log:

I'm not sure how I can obtain logs.

lelutin commented 3 years ago

ah, another detail: I've installed vint with:

pip install --user vim-vint

which installed it in ~/.local/bin/vint and ~/.local/bin is in my PATH

iamcco commented 3 years ago

Have a look at https://github.com/iamcco/coc-diagnostic/issues/62#issuecomment-735660297

lelutin commented 3 years ago

thanks, it started working after the commands in that comment :100: