Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: how to operate on current file? #48

Open
HappyEinara opened this issue Sep 26, 2021 · 1 comment
Open

Documentation: how to operate on current file? #48

HappyEinara opened this issue Sep 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@HappyEinara
Copy link

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 polarmutex added the enhancement New feature or request label Sep 27, 2021
@polarmutex
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants