mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user