Documentation: how to operate on current file?
HappyEinara opened this issue · 1 comments
HappyEinara commented
The documentation (with its link to your dotfiles) appears to suggest that the file to be linted has to be hardcoded in init.vim as:
init_options = {
journalFile = "~/repos/beancount/journal.beancount",
}
Is there no way for the language server to operate on the current buffer, or (in the case of an included file) the master file of the current buffer?
polarmutex commented
the file linked is the root file to find account declarations, etc. the language server processes the current buffer but uses that file to determine other needed info for completions (for now). I could make this option optional but some completions might not show up