diff options
| author | Christian Kögler <ck3d@gmx.de> | 2024-04-14 18:50:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-14 09:50:15 -0700 |
| commit | 8d29310a960543bd44b72744db5033a5c5f5d96a (patch) | |
| tree | 3daf563481549ba3394165efef66374513fe8b6b /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar.gz nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar.bz2 nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar.lz nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar.xz nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.tar.zst nvim-lspconfig-8d29310a960543bd44b72744db5033a5c5f5d96a.zip | |
fix: avoid initialization of optional value journal_file #3107
parameter journal_file is optional:
https://github.com/polarmutex/beancount-language-server/blob/main/crates/lsp/src/config.rs#L8
Setting journal_file raises an error in following line:
https://github.com/polarmutex/beancount-language-server/blob/main/crates/lsp/src/server.rs#L122
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/beancount.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lua/lspconfig/server_configurations/beancount.lua b/lua/lspconfig/server_configurations/beancount.lua index 8f20b438..c1f34653 100644 --- a/lua/lspconfig/server_configurations/beancount.lua +++ b/lua/lspconfig/server_configurations/beancount.lua @@ -6,10 +6,7 @@ return { filetypes = { 'beancount', 'bean' }, root_dir = util.find_git_ancestor, single_file_support = true, - init_options = { - -- this is the path to the beancout journal file - journal_file = '', - }, + init_options = {}, }, docs = { description = [[ |
