diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-07-13 10:41:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-13 10:41:39 -0700 |
| commit | cd1ccf056be9cbcc3d5cbefff08135276bc476ed (patch) | |
| tree | 82a0d7f77d4782b1aa06668298b48d7cf5ecb511 /lua/lspconfig/beancount.lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.gz nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.bz2 nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.lz nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.xz nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.zst nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.zip | |
chore: change stylua to single quotes (#1068)
Diffstat (limited to 'lua/lspconfig/beancount.lua')
| -rw-r--r-- | lua/lspconfig/beancount.lua | 14 |
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 = { |
