In Vim, the `qmlls` language server doesn't show hover tooltips and doesn't jump to definitions of built-in QML types
-
The language server doesn't show hover tooltips for types or type properties. When triggering the
LspHovercommand, the Vim client plugin returns the warningNo documentation found for current keyword.Jumping to definitions of built-in QML types also doesn't work. When triggering the
LspGotoDefinitioncommand, the LSP client plugin returns the warningsymbol definition is not found.Other language server features I've checked do work. Namely: autocompletion for both built-in and custom types, autocompletion of type properties, and jumping to definitions of custom types created both in QML and in C++. Hover tooltips as a feature also work in general, but for files with code in other programming languages (e.g. C++) with other language servers (e.g.
clangd).What could be causing this behavior? How can I make the language server show hover tooltips and jump to definitions of built-in types?
.qmlls.ini[General] no-cmake-calls=false buildDir="/home/user/.workspace/playground/qt/learn_qt/sample-0005/build-debug" docDir=/usr/share/doc/qt6 importPaths="/usr/lib/qt6/qml"Arch Linux
Qt 6.11.2
Vim 9.2
lsp — Language Server Protocol plugin for Vim9 yegappan/lsp
qmlls 6.11.2