health#rnvimr#check
========================================================================
## OS
- ERROR: Ranger is not supported for you OS
## Ranger
- ERROR: Ranger not Found
## Pynvim
- ERROR: Pynvim is not found in Python Lib
## Ueberzug (optional)
- INFO: Ueberzug is not support for Windows
## RPC
- ERROR: RPC: timeout 3s
health#nvim_treesitter#check
========================================================================
## Installation
- WARNING: `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
- OK: `node` found v14.15.4 (only needed for :TSInstallFromGrammar)
- OK: `git` executable found.
- OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl" }
- OK: Neovim was compiled with tree-sitter runtime ABI version 13 (required >=13). Parsers must be compatible with runtime ABI.
## Parser/Features H L F I
- go ✓ ✓ ✓ ✓ ✓
- fortran ✓ . ✓ ✓ .
- zig ✓ ✓ ✓ ✓ ✓
- clojure ✓ ✓ ✓ . ✓
- bash ✓ ✓ ✓ . ✓
- beancount ✓ . ✓ . .
- commonlisp ✓ ✓ ✓ . .
- bibtex ✓ . ✓ ✓ .
- supercollider ✓ ✓ ✓ ✓ ✓
- comment ✓ . . . .
- cpp ✓ ✓ ✓ ✓ ✓
- r ✓ ✓ . . .
- toml ✓ ✓ ✓ ✓ ✓
- scala . . . . .
- dockerfile ✓ . . . ✓
- tsx ✓ ✓ ✓ ✓ ✓
- python ✓ ✓ ✓ ✓ ✓
- rust ✓ ✓ ✓ ✓ ✓
- c ✓ ✓ ✓ ✓ ✓
- ledger ✓ . ✓ ✓ ✓
- jsonc ✓ ✓ ✓ ✓ ✓
- svelte ✓ . ✓ ✓ ✓
- vue ✓ . ✓ . ✓
- fish ✓ ✓ ✓ ✓ ✓
- glimmer ✓ . . . .
- rst ✓ ✓ . . ✓
- gomod ✓ . . . .
- php ✓ ✓ ✓ ✓ ✓
- graphql ✓ . . ✓ ✓
- yaml ✓ ✓ ✓ ✓ ✓
- java ✓ ✓ . ✓ ✓
- dart ✓ ✓ . ✓ ✓
- teal ✓ ✓ ✓ ✓ ✓
- kotlin ✓ . . . ✓
- latex ✓ . ✓ . .
- json ✓ ✓ ✓ ✓ .
- regex ✓ . . . .
- julia ✓ ✓ ✓ . ✓
- html ✓ ✓ ✓ ✓ ✓
- css ✓ . ✓ ✓ ✓
- scss ✓ . . ✓ .
- javascript ✓ ✓ ✓ ✓ ✓
- verilog ✓ ✓ ✓ . ✓
- typescript ✓ ✓ ✓ ✓ ✓
- erlang . . . . .
- ql ✓ ✓ . ✓ ✓
- ruby ✓ ✓ ✓ ✓ ✓
- jsdoc ✓ . . . .
- lua ✓ ✓ ✓ ✓ ✓
- fennel ✓ ✓ . . ✓
- ocaml ✓ ✓ ✓ . ✓
- sparql ✓ ✓ ✓ ✓ ✓
- nix ✓ ✓ ✓ . ✓
- query ✓ ✓ ✓ ✓ ✓
- ocaml_interface✓ ✓ ✓ . ✓
- elm . . . . .
- turtle ✓ ✓ ✓ ✓ ✓
- c_sharp ✓ . ✓ . ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents]
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang}
health#mkdp#check
========================================================================
- INFO: Platform: win
- INFO: Nvim Version: NVIM v0.5.0-dev+1384-gf2906a466
- INFO: Node version: v14.15.4
- INFO: Script: C:\Users\Username\AppData\Local\nvim-data\site\pack\packer\opt\markdown-preview.nvim/app/server.js
- INFO: Script exists: 1
- OK: Using node
health#which_key#check
========================================================================
## WhichKey: checking conflicting keymaps
- WARNING: conflicting keymap exists for mode **"n"**, lhs: **"gc"**
- INFO: rhs: `:set operatorfunc=CommentOperator<CR>g@`
- WARNING: conflicting keymap exists for mode **"n"**, lhs: **" z"**
- INFO: rhs: `:Telescope grep_string<CR>`
- WARNING: conflicting keymap exists for mode **"n"**, lhs: **" c"**
- INFO: rhs: `:BufferClose<CR>`
- WARNING: buffer-local keymap overriding global for mode **"n"**, buf: 0, lhs: **" "**
- INFO: old rhs: `<NOP>`
- INFO: new rhs: `<cmd>lua require("which-key").show(" ", {mode = "n", auto = true})<cr>`
health#lspconfig#check
========================================================================
## Checking language server protocol configuration
- ERROR: terraformls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/terraform/terraform-ls" is not executable.
- ERROR: tsserver: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/typescript/node_modules/.bin/typescript-language-server" is not executable.
- ERROR: solargraph: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/ruby/solargraph/solargraph" is not executable.
- ERROR: kotlin_language_server: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/kotlin/language-server/server/build/install/server/bin/kotlin-language-server.bat" is not executable.
- ERROR: bashls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/bash/node_modules/.bin/bash-language-server" is not executable.
- INFO: html: configuration checked.
- INFO: ahk_lsp: configuration checked.
- ERROR: texlab: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/latex/texlab" is not executable.
- ERROR: pyright: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/python/node_modules/.bin/pyright-langserver" is not executable.
- INFO: jsonls: configuration checked.
- ERROR: svelte: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/svelte/node_modules/.bin/svelteserver" is not executable.
- ERROR: elmls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/elm/node_modules/.bin/elm-language-server" is not executable.
- ERROR: yamlls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/yaml/node_modules/.bin/yaml-language-server" is not executable.
- ERROR: vuels: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/vue/node_modules/.bin/vls" is not executable.
- ERROR: vimls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/vim/node_modules/.bin/vim-language-server" is not executable.
- INFO: vhdl_tool: configuration checked.
- ERROR: rust_analyzer: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/rust/rust-analyzer" is not executable.
- ERROR: dockerls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/dockerfile/node_modules/.bin/docker-langserver" is not executable.
- INFO: ccls: configuration checked.
- ERROR: gopls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/go/gopls" is not executable.
- ERROR: efm: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/efm/efm-langserver" is not executable.
- ERROR: angularls: The given command "ngserver" is not executable.
- INFO: cssls: configuration checked.
- ERROR: intelephense: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/php/node_modules/.bin/intelephense" is not executable.
- ERROR: sumneko_lua: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/lua/sumneko-lua-language-server" is not executable.
- ERROR: emmet_ls: The given command "emmet-ls" is not executable.
- INFO: vhdl_ls: configuration checked.
- ERROR: graphql: The given command "graphql-lsp" is not executable.
- ERROR: elixirls: The given command "C:\\Users\\Username\\AppData\\Local\\nvim-data/lspinstall/elixir/elixir-ls/language_server.sh" is not executable.
- ERROR: dartls: The given command "dart" is not executable.
health#nvim#check
========================================================================
## Configuration
- OK: no issues found
## 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~
health#provider#check
========================================================================
## Clipboard (optional)
- OK: Clipboard tool found: win32yank
## Python 2 provider (optional)
- INFO: Using: g:python_host_prog = "C:\Python27\python.exe"
- INFO: Executable: C:\Python27\python.exe
- INFO: Python version: 2.7.15
- INFO: pynvim version: 0.4.2
(outdated; from ~\AppData\Roaming\Python\Python27\site-packages\neovim)
- WARNING: Latest pynvim is NOT installed: 0.4.3
## Python 3 provider (optional)
- INFO: Using: g:python3_host_prog = "C:\Python39\python.exe"
- INFO: Executable: C:\Python39\python.exe
- INFO: Python version: 3.9.1
- INFO: pynvim version: 0.4.2
(outdated; from C:\Python39\lib\site-packages\neovim)
- WARNING: Latest pynvim is NOT installed: 0.4.3
## Python virtualenv
- OK: no $VIRTUAL_ENV
## Ruby provider (optional)
- WARNING: `ruby` and `gem` must be in $PATH.
- ADVICE:
- Install Ruby and verify that `ruby` and `gem` commands work.
## Node.js provider (optional)
- INFO: Node.js: v14.15.4
- INFO: Nvim node.js host: C:\Users\Username\AppData\Roaming\npm\node_modules/neovim/bin/cli.js
- WARNING: Package "neovim" is out-of-date. Installed: 4.9.0, latest: 4.10.0
- 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
health#treesitter#check
========================================================================
## Checking treesitter configuration
- INFO: Runtime ABI version : 13
- OK: Loaded parser for bash: ABI version 13
- OK: Loaded parser for beancount: ABI version 13
- OK: Loaded parser for bibtex: ABI version 13
- OK: Loaded parser for c: ABI version 13
- OK: Loaded parser for clojure: ABI version 13
- OK: Loaded parser for comment: ABI version 13
- OK: Loaded parser for commonlisp: ABI version 13
- OK: Loaded parser for cpp: ABI version 13
- OK: Loaded parser for css: ABI version 13
- OK: Loaded parser for c_sharp: ABI version 13
- OK: Loaded parser for dart: ABI version 13
- OK: Loaded parser for dockerfile: ABI version 13
- OK: Loaded parser for elm: ABI version 13
- OK: Loaded parser for erlang: ABI version 13
- OK: Loaded parser for fennel: ABI version 13
- OK: Loaded parser for fish: ABI version 13
- OK: Loaded parser for fortran: ABI version 13
- OK: Loaded parser for glimmer: ABI version 13
- OK: Loaded parser for go: ABI version 13
- OK: Loaded parser for gomod: ABI version 13
- OK: Loaded parser for graphql: ABI version 13
- OK: Loaded parser for html: ABI version 13
- OK: Loaded parser for java: ABI version 13
- OK: Loaded parser for javascript: ABI version 13
- OK: Loaded parser for jsdoc: ABI version 13
- OK: Loaded parser for json: ABI version 13
- OK: Loaded parser for jsonc: ABI version 13
- OK: Loaded parser for julia: ABI version 13
- OK: Loaded parser for kotlin: ABI version 13
- OK: Loaded parser for latex: ABI version 13
- OK: Loaded parser for ledger: ABI version 13
- OK: Loaded parser for lua: ABI version 13
- OK: Loaded parser for nix: ABI version 13
- OK: Loaded parser for ocaml: ABI version 13
- OK: Loaded parser for ocaml_interface: ABI version 13
- OK: Loaded parser for php: ABI version 13
- OK: Loaded parser for python: ABI version 13
- OK: Loaded parser for ql: ABI version 13
- OK: Loaded parser for query: ABI version 13
- OK: Loaded parser for r: ABI version 13
- OK: Loaded parser for regex: ABI version 13
- OK: Loaded parser for rst: ABI version 13
- OK: Loaded parser for ruby: ABI version 13
- OK: Loaded parser for rust: ABI version 13
- OK: Loaded parser for scala: ABI version 13
- OK: Loaded parser for scss: ABI version 13
- OK: Loaded parser for sparql: ABI version 13
- OK: Loaded parser for supercollider: ABI version 13
- OK: Loaded parser for svelte: ABI version 13
- OK: Loaded parser for teal: ABI version 13
- OK: Loaded parser for toml: ABI version 13
- OK: Loaded parser for tsx: ABI version 13
- OK: Loaded parser for turtle: ABI version 13
- OK: Loaded parser for typescript: ABI version 13
- OK: Loaded parser for verilog: ABI version 13
- OK: Loaded parser for vue: ABI version 13
- OK: Loaded parser for yaml: ABI version 13
- OK: Loaded parser for zig: ABI version 13
- OK: Loaded parser for c: ABI version 13
- OK: Loaded parser for bash: ABI version 13
- OK: Loaded parser for beancount: ABI version 13
- OK: Loaded parser for bibtex: ABI version 13
- OK: Loaded parser for c: ABI version 13
- OK: Loaded parser for clojure: ABI version 13
- OK: Loaded parser for comment: ABI version 13
- OK: Loaded parser for commonlisp: ABI version 13
- OK: Loaded parser for cpp: ABI version 13
- OK: Loaded parser for css: ABI version 13
- OK: Loaded parser for c_sharp: ABI version 13
- OK: Loaded parser for dart: ABI version 13
- OK: Loaded parser for dockerfile: ABI version 13
- OK: Loaded parser for elm: ABI version 13
- OK: Loaded parser for erlang: ABI version 13
- OK: Loaded parser for fennel: ABI version 13
- OK: Loaded parser for fish: ABI version 13
- OK: Loaded parser for fortran: ABI version 13
- OK: Loaded parser for glimmer: ABI version 13
- OK: Loaded parser for go: ABI version 13
- OK: Loaded parser for gomod: ABI version 13
- OK: Loaded parser for graphql: ABI version 13
- OK: Loaded parser for html: ABI version 13
- OK: Loaded parser for java: ABI version 13
- OK: Loaded parser for javascript: ABI version 13
- OK: Loaded parser for jsdoc: ABI version 13
- OK: Loaded parser for json: ABI version 13
- OK: Loaded parser for jsonc: ABI version 13
- OK: Loaded parser for julia: ABI version 13
- OK: Loaded parser for kotlin: ABI version 13
- OK: Loaded parser for latex: ABI version 13
- OK: Loaded parser for ledger: ABI version 13
- OK: Loaded parser for lua: ABI version 13
- OK: Loaded parser for nix: ABI version 13
- OK: Loaded parser for ocaml: ABI version 13
- OK: Loaded parser for ocaml_interface: ABI version 13
- OK: Loaded parser for php: ABI version 13
- OK: Loaded parser for python: ABI version 13
- OK: Loaded parser for ql: ABI version 13
- OK: Loaded parser for query: ABI version 13
- OK: Loaded parser for r: ABI version 13
- OK: Loaded parser for regex: ABI version 13
- OK: Loaded parser for rst: ABI version 13
- OK: Loaded parser for ruby: ABI version 13
- OK: Loaded parser for rust: ABI version 13
- OK: Loaded parser for scala: ABI version 13
- OK: Loaded parser for scss: ABI version 13
- OK: Loaded parser for sparql: ABI version 13
- OK: Loaded parser for supercollider: ABI version 13
- OK: Loaded parser for svelte: ABI version 13
- OK: Loaded parser for teal: ABI version 13
- OK: Loaded parser for toml: ABI version 13
- OK: Loaded parser for tsx: ABI version 13
- OK: Loaded parser for turtle: ABI version 13
- OK: Loaded parser for typescript: ABI version 13
- OK: Loaded parser for verilog: ABI version 13
- OK: Loaded parser for vue: ABI version 13
- OK: Loaded parser for yaml: ABI version 13
- OK: Loaded parser for zig: ABI version 13
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:274 I initialize in directory C:/Work/Projects/Git/ACounter/testlut with uri file:///C:/Work/Projects/Git/ACounter/testlut
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:297 I initializationOptions: {"compilationDatabaseCommand":"","compilationDatabaseDirectory":"","cache":{"directory":".ccls-cache","format":"binary","hierarchicalPath":false,"retainInMemory":2},"capabilities":{"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"}","moreTriggerCharacter":[]},"foldingRangeProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}}},"clang":{"excludeArgs":[],"extraArgs":[],"pathMappings":[],"resourceDir":""},"client":{"diagnosticsRelatedInformation":true,"hierarchicalDocumentSymbolSupport":true,"linkSupport":true,"snippetSupport":true},"codeLens":{"localVariables":true},"completion":{"caseSensitivity":2,"detailedLabel":true,"dropOldRequests":true,"duplicateOptional":true,"filterAndSort":true,"include":{"blacklist":[],"maxPathSize":30,"suffixWhitelist":[".h",".hpp",".hh",".inc"],"whitelist":[]},"maxNum":100,"placeholder":true},"diagnostics":{"blacklist":[],"onChange":1000,"onOpen":0,"onSave":0,"spellChecking":true,"whitelist":[]},"highlight":{"largeFileSize":2097152,"lsRanges":false,"blacklist":[],"whitelist":[]},"index":{"blacklist":[],"comments":2,"initialNoLinkage":false,"initialBlacklist":[],"initialWhitelist":[],"maxInitializerLines":5,"multiVersion":0,"multiVersionBlacklist":[],"multiVersionWhitelist":[],"name":{"suppressUnwrittenScope":false},"onChange":false,"parametersInDeclarations":true,"threads":0,"trackDependency":2,"whitelist":[]},"request":{"timeout":5000},"session":{"maxNum":10},"workspaceSymbol":{"caseSensitivity":1,"maxNum":1000,"sort":true},"xref":{"maxNum":2000}}
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:329 I use -resource-dir=D:\CodeBlocks\llvm-11.0.1-install\lib\clang\11.0.1
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:361 I workspace folder: C:/Work/Projects/Git/ACounter/testlut/
09:14:47 D:\CodeBlocks\ccls\src\project.cc:426 I loaded C:/Work/Projects/Git/ACounter/testlut/compile_commands.json
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:386 I start 8 indexers
09:14:47 D:\CodeBlocks\ccls\src\messages\initialize.cc:394 I dispatch initial index requests
09:14:47 D:\CodeBlocks\ccls\src\pipeline.cc:493 I loaded project. Refresh semantic highlight for all working file.
09:14:47 D:\CodeBlocks\ccls\src\sema_manager.cc:763 I create session for C:/Work/Projects/Git/ACounter/testlut/main.cpp
C:/msys64/mingw64/bin/c++.exe --driver-mode=g++ -std=gnu++17 -Weverything -o CMakeFiles/testlut.dir/main.cpp.obj -c C:/Work/Projects/Git/ACounter/testlut/main.cpp -working-directory=C:/Work/Projects/Git/ACounter/testlut/Build_Unix
09:14:48 D:\CodeBlocks\ccls\src\pipeline.cc:298 I load cache for C:/Work/Projects/Git/ACounter/testlut/main.cpp
Issue was answered in vim-ccls, it uses custom extensions for call hierarchy, so nothing we can do. You should use vim-ccls which is complementary to lspconfig. Closing.
nvim --version
:How to reproduce the problem from neovim startup
Actual behaviour
In my Neovim 0.5.0 setup configured with ccls as LSP for C, the following seem to work:
e.g.:
and most of the remaining ccls capabilities.
But those mappings/commands:
doesn't seem to work. Neovim reports:
Anyway, I'm also using vim-ccls plugin and it reports for all of its commands:
when executing them (with or without a word under the cursor).
I opened a issue report here:
https://github.com/m-pilia/vim-ccls/issues/45
Expected behaviour
I would expect Neovim LSP to be able to show function calls and callers with ccls.
Minimal init.vim or init.lua and code sample
LSP Config .lua setting:
compile_commands.json:
Health check
LSP log
LspInfo output:
Neovim LSP log file:
https://gist.github.com/pidgeon777/2105f8e536a99e7f1660d743e137ac93
ccls log: