neoclide / coc-eslint

Eslint extension for coc.nvim
MIT License
396 stars 24 forks source link

eslint.executeAutofix populates my quickfix list #114

Closed jackysee closed 3 years ago

jackysee commented 3 years ago

When I run :CocCommand eslint.executeAutofix, it will populate and overwrite my current quickfix list. The list is the eslint problems before running the command.

Is it the default behavior? Can I disable this?

:CocInfo


vim version: VIM - Vi IMproved 8.2 8022814
node version: v14.15.0
coc.nvim version: 0.0.80-825a54d780
coc.nvim directory: /home/jackys/.dotfiles/vim/plugged/coc.nvim
term: tmux
platform: linux

## Log of coc.nvim

2021-05-26T18:32:00.053 INFO (pid:964367) [plugin] - coc.nvim 0.0.80-825a54d780 initialized with node: v14.15.0 after 307ms
2021-05-26T18:32:01.706 INFO (pid:964367) [language-client-index] - eslint started with 964398
2021-05-26T18:32:11.434 INFO (pid:964367) [attach] - receive request: commandList [ 'eslint.exe', 'CocCommand eslint.exe', 21 ]
2021-05-26T18:32:12.475 INFO (pid:964367) [attach] - receive notification: runCommand [ 'eslint.executeAutofix' ]
2021-05-26T18:32:22.884 INFO (pid:964367) [attach] - receive notification: showInfo []
2021-05-26T18:32:22.890 INFO (pid:964367) [attach] - receive request: CocAutocmd [ 'BufReadCmd', 'output', 'output:///info' ]
2021-05-26T18:32:28.391 INFO (pid:964367) [attach] - receive notification: showInfo []
chemzqm commented 3 years ago

See https://github.com/neoclide/coc.nvim/issues/3109