mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-22 19:55:10 +02:00
[Feature] Allow for custom path to a language server binary (#1043)
This commit is contained in:
parent
9e640fa4d9
commit
0064b446a0
30 changed files with 150 additions and 45 deletions
|
@ -1,7 +1,11 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function()
|
||||
O.lang.julia = {}
|
||||
O.lang.julia = {
|
||||
lsp = {
|
||||
path = CONFIG_PATH .. "/lua/lsp/julia/run.jl",
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
M.format = function()
|
||||
|
@ -30,7 +34,7 @@ M.lsp = function()
|
|||
"--startup-file=no",
|
||||
"--history-file=no",
|
||||
-- vim.fn.expand "~/.config/nvim/lua/lsp/julia/run.jl",
|
||||
CONFIG_PATH .. "/lua/lsp/julia/run.jl",
|
||||
O.lang.julia.lsp.path,
|
||||
}
|
||||
require("lspconfig").julials.setup {
|
||||
cmd = cmd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue