Closed gamoutatsumi closed 3 years ago
When using neovim/nvim-lspconfig and efm-langserver, printed errors every time typing character.
neovim/nvim-lspconfig
Not showing errors.
ddc.vim version (SHA1): eaed91a9977a2ee58333608c8829a207ad2aa18d
eaed91a9977a2ee58333608c8829a207ad2aa18d
denops.vim version (SHA1): 228d446132825bd8035a5530a206611f639f9a74
228d446132825bd8035a5530a206611f639f9a74
deno version(deno -V output): deno 1.16.2
deno -V
deno 1.16.2
OS: Arch Linux
neovim/Vim :version output: NVIM v0.6.0-dev+605-g2bd8f2fb5
:version
NVIM v0.6.0-dev+605-g2bd8f2fb5
:checkhealth or :CheckHealth result(neovim only):
:checkhealth
:CheckHealth
set runtimepath^=~/Repositories/github.com/Shougo/ddc.vim set runtimepath^=~/Repositories/github.com/vim-denops/denops.vim set runtimepath^=~/Repositories/github.com/Shougo/ddc-nvim-lsp set runtimepath^=~/Repositories/github.com/neovim/nvim-lspconfig function! s:ddcinit() abort call ddc#custom#patch_global('backspaceCompletion', v:true) call ddc#custom#patch_global('autoCompleteEvents', \ ['InsertEnter', 'TextChangedI', 'TextChangedP']) call ddc#custom#patch_global('sources', ['nvim-lsp']) call ddc#custom#patch_global('sourceOptions', { \ 'nvim-lsp': { \ 'mark': 'lsp', \ 'isVolatile': v:true, \ }, \ }) call ddc#enable() endfunction lua << EOF require'lspconfig'.efm.setup{ filetypes = { 'markdown' } } EOF autocmd User DenopsReady call s:ddcinit()
Reproduced. Too bad.
Fixed.
Problems summary
When using
neovim/nvim-lspconfig
and efm-langserver, printed errors every time typing character.Expected
Not showing errors.
Environment Information
ddc.vim version (SHA1):
eaed91a9977a2ee58333608c8829a207ad2aa18d
denops.vim version (SHA1):
228d446132825bd8035a5530a206611f639f9a74
deno version(
deno -V
output):deno 1.16.2
OS: Arch Linux
neovim/Vim
:version
output:NVIM v0.6.0-dev+605-g2bd8f2fb5
:checkhealth
or:CheckHealth
result(neovim only):checkhealth
``` denops: health#denops#check ======================================================================== - INFO: Supported Deno version: `1.14.0` - INFO: Detected Deno version: `1.16.2` - OK: Deno version check: passed - INFO: Supported Neovim version: `0.5.0` - INFO: Detected Neovim version: `0.6.0` - OK: Neovim version check: passed - INFO: Denops status: `running` - OK: Denops status check: passed lspconfig: require("lspconfig.health").check() ======================================================================== - WARNING: Can't find any config. - INFO: gopls: configuration checked. - INFO: eslint: configuration checked. - INFO: efm: configuration checked. - INFO: jsonls: configuration checked. - INFO: vimls: configuration checked. - INFO: rust_analyzer: configuration checked. - INFO: tsserver: configuration checked. - INFO: yamlls: configuration checked. nvim: health#nvim#check ======================================================================== ## Configuration - WARNING: Missing user config file: /home/gamoutatsumi/.config/nvim/init.vim - ADVICE: - :help |nvim-from-vim| ## Performance - OK: Build type: RelWithDebInfo ## Remote Plugins - OK: Up to date ## terminal - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~ - INFO: $TERM_PROGRAM='tmux' - INFO: $COLORTERM='truecolor' ## tmux - OK: escape-time: 10 - INFO: Checking stuff - OK: focus-events: on - INFO: $TERM: screen-256color provider: health#provider#check ======================================================================== ## Clipboard (optional) - OK: Clipboard tool found: xclip ## Python 2 provider (optional) - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics. - ERROR: Python provider error: - ADVICE: - provider/pythonx: Could not load Python 2: /usr/bin/python2 does not have the "neovim" module. :help |provider-python| /usr/bin/python2.7 does not have the "neovim" module. :help |provider-python| python2.6 not found in search path or not executable. /usr/bin/python is Python 3.9 and cannot provide Python 2. - INFO: Executable: Not found ## Python 3 provider (optional) - INFO: `g:python3_host_prog` is not set. Searching for python3 in the environment. - INFO: Multiple python3 executables found. Set `g:python3_host_prog` to avoid surprises. - INFO: Executable: /usr/bin/python3 - INFO: Other python executable: /bin/python3 - INFO: Python version: 3.9.7 - INFO: pynvim version: 0.4.3 - OK: Latest pynvim is installed. ## Python virtualenv - OK: no $VIRTUAL_ENV ## Ruby provider (optional) - INFO: Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux] - WARNING: `neovim-ruby-host` not found. - ADVICE: - Run `gem install neovim` to ensure the neovim RubyGem is installed. - Run `gem environment` to ensure the gem bin directory is in $PATH. - If you are using rvm/rbenv/chruby, try "rehashing". - See :help |g:ruby_host_prog| for non-standard gem installations. ## Node.js provider (optional) - INFO: Node.js: v16.13.0 - WARNING: Missing "neovim" npm (or yarn) package. - ADVICE: - Run in shell: npm install -g neovim - Run in shell (if you use yarn): yarn global add neovim ## Perl provider (optional) - ERROR: perl provider error: - ADVICE: - "Neovim::Ext" cpan module is not installed vim.lsp: require("vim.lsp.health").check() ======================================================================== - INFO: LSP log level : WARN - INFO: Log path: /home/gamoutatsumi/.cache/nvim/lsp.log - INFO: Log size: 56708 KB vim.treesitter: require("vim.treesitter.health").check() ======================================================================== - INFO: Runtime ABI version : 13 ```Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
Screenshot (if possible)