Not a question
I investigated.
Description
I noticed that, at each buffer change (input, etc.), neovim shows the following error message.
LSP[haskell-tools.nvim] Error condition, please check your setup and/or the [issue tracker](https://github.com/haskell/haskell-language-server/issues):
LSP: no handler for: "textDocument/documentColor"
This happens with haskell-tools.nvim and lspconfig.nvim's hls configuration. I provide a latter example for the former below.
I have tried to disable the lsp functionality or disable ccc by default, but the error message is still popping up.
Environments
- Linux 6.6.60 (NixOS) x86_64 GNU/Linux
- Neovim 0.10.2
Minimal reproducible full config
set termguicolors
let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/autoload/plug.vim')
execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end
execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'uga-rosa/ccc.nvim'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit
lua <<EOF
local ccc = require("ccc")
local mapping = ccc.mapping
ccc.setup({
pickers = { disable = { "haskell" } },
highlighter = {
auto_enable = true,
lsp = true,
excludes = {
"haskell",
},
},
})
require("lspconfig").hls.setup({})
EOF
Steps to reproduce
- Install haskell language server (the LSP needs to run for this issue to manifest)
- Open the following example file (write the content to something like
main.hs)
module Main where
main :: IO ()
main = undefined
- Type anything in insert mode and the error will pop up.
Expected behavior
The call to "textDocument/documentColor" shouldn't fail with such errors at each buffer change.
Actual behavior
The call to "textDocument/documentColor" fails with an error message.
Additional context
Thank you for the project and for reading this issue!
Not a question
I investigated.
Description
I noticed that, at each buffer change (input, etc.), neovim shows the following error message.
This happens with haskell-tools.nvim and lspconfig.nvim's hls configuration. I provide a latter example for the former below.
I have tried to disable the lsp functionality or disable ccc by default, but the error message is still popping up.
Environments
Minimal reproducible full config
Steps to reproduce
main.hs)Expected behavior
The call to
"textDocument/documentColor"shouldn't fail with such errors at each buffer change.Actual behavior
The call to
"textDocument/documentColor"fails with an error message.Additional context
Thank you for the project and for reading this issue!