Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
Lee Tang
2023-07-27 12:19:49 +08:00
parent 7156ae333e
commit cd59286e71
2 changed files with 11 additions and 2 deletions

View File

@@ -41,6 +41,7 @@
"/Users/d0zingcat/.local/share/nvim/site/pack/packer/start/vim-illuminate/lua",
"/Users/d0zingcat/.local/share/nvim/site/pack/packer/start/which-key.nvim/lua",
"/Users/d0zingcat/.dotfiles/nvim/lua",
"${3rd}/luassert/library"
"${3rd}/luassert/library",
"${3rd}/luv/library"
]
}

View File

@@ -1,4 +1,5 @@
local utils = require('lsp-setup.utils')
local nvim_lsp = require('lspconfig')
local mappings = {
-- Example mappings for telescope pickers
gd = 'lua require"telescope.builtin".lsp_definitions({jump_type="vsplit"})',
@@ -72,7 +73,14 @@ local servers = {
},
terraformls = {},
beancount = {
filetypes = { 'beancount', 'bean' },
-- filetypes = { 'beancount', 'bean' },
cmd = { "beancount-language-server", "--stdio", },
init_options = {
journalFile = ""
},
filetypes = { "beancount", "bean" },
root_dir = nvim_lsp.util.root_pattern("main.bean"),
single_file_support = true,
}
}