Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
dev
-
None
Description
The "~" is a common symbol on unix-like machines to reference the home directory.
When passing in such a path to the qmlls, we get errors from the LSP
E.g.
/usr/bin/qt6/bin/qmlls -l ~/Temp/qmlls.log // Will produce errors like this: [START][2023-06-19 11:36:37] LSP logging initiated [ERROR][2023-06-19 11:36:37] .../vim/lsp/rpc.lua:734 "rpc" "/usr/lib/qt6/bin/qmlls" "stderr" 'QIODevice::write (QFile, "~/Temp/qmlls.log"): device not open\nQIODevice::write (QFile, "~/Temp/qmlls.log"): device not open\nQIODevice::write (QFile, "~/Temp/qmlls.log"): device not open\nQIODevice::write (QFile, "~/Temp/qmlls.log"): device not open\n'