aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/beancount.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/beancount.lua')
-rw-r--r--lua/lspconfig/beancount.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/lua/lspconfig/beancount.lua b/lua/lspconfig/beancount.lua
index fdbdd3f1..1436b7c8 100644
--- a/lua/lspconfig/beancount.lua
+++ b/lua/lspconfig/beancount.lua
@@ -1,21 +1,21 @@
-local configs = require "lspconfig/configs"
-local util = require "lspconfig/util"
+local configs = require 'lspconfig/configs'
+local util = require 'lspconfig/util'
-local server_name = "beancount"
-local bin_name = "beancount-langserver"
+local server_name = 'beancount'
+local bin_name = 'beancount-langserver'
configs[server_name] = {
default_config = {
cmd = { bin_name },
- filetypes = { "beancount" },
+ filetypes = { 'beancount' },
root_dir = function(fname)
return util.find_git_ancestor(fname) or util.path.dirname(fname)
end,
init_options = {
-- this is the path to the beancout journal file
- journalFile = "",
+ journalFile = '',
-- this is the path to the pyton binary with beancount installed
- pythonPath = "python3",
+ pythonPath = 'python3',
},
},
docs = {