| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | local M = {}M.config = function()  O.lang.julia = {    lsp = {      path = CONFIG_PATH .. "/lua/lsp/julia/run.jl",    },  }endM.format = function()  -- todo: implement formatters (if applicable)  return "no formatters configured!"endM.lint = function()  -- todo: implement linters (if applicable)  return "no linters configured!"endM.lsp = function()  if require("lv-utils").check_lsp_client_active "julials" then    return  end  -- Add the following lines to a new julia file, e.g. install.jl  -- using Pkg  -- Pkg.instantiate()  -- Run the file you created.  -- julia install.jl  -- Julia language server will now be installed on your system.  local cmd = {    "julia",    "--startup-file=no",    "--history-file=no",    -- vim.fn.expand "~/.config/nvim/lua/lsp/julia/run.jl",    O.lang.julia.lsp.path,  }  require("lspconfig").julials.setup {    cmd = cmd,    on_new_config = function(new_config, _)      new_config.cmd = cmd    end,    filetypes = { "julia" },  }endM.dap = function()  -- TODO: implement dap  return "No DAP configured!"endreturn M
 |