18 lines
510 B
Lua
18 lines
510 B
Lua
vim.lsp.config.matlab_ls =
|
|
{
|
|
cmd = { "node", os.getenv("HOME") .. "/MATLAB-language-server/out/index.js", "--stdio" },
|
|
root_markers = { 'mw_anchor' },
|
|
filetypes = { 'matlab' },
|
|
single_file_support = true,
|
|
settings = {
|
|
MATLAB = {
|
|
indexWorkspace = false,
|
|
installPath = "/usr/local/MATLAB/R2024b",
|
|
matlabConnectionTiming = "onStart",
|
|
telemetry = false
|
|
}
|
|
}
|
|
}
|
|
|
|
vim.lsp.enable({'matlab_ls'})
|