You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let journal_root = lsp_types::Url::from_file_path(file)
Since from_file_path only accepts absolute path, the lsp server will panic with a relative journal_file. It would be convenient and portable if the lsp server can accept a relative path, e.g. ./root.beancount.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently
journal_file
option is parsed withlsp_types::Url::from_file_path
beancount-language-server/crates/lsp/src/server.rs
Line 122 in 4332edd
Since
from_file_path
only accepts absolute path, the lsp server will panic with a relativejournal_file
. It would be convenient and portable if the lsp server can accept a relative path, e.g../root.beancount
.Beta Was this translation helpful? Give feedback.
All reactions