[2024-05-31] Change matlab_ls root detection
This commit is contained in:
parent
af9d132faf
commit
b428f824bb
1 changed files with 2 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
local coq = require("coq")
|
||||
local util = require("lspconfig.util")
|
||||
require('lspconfig').matlab_ls.setup(
|
||||
coq.lsp_ensure_capabilities({
|
||||
cmd = { "node", "/mathworks/home/aconlin/MATLAB-language-server/out/index.js", "--stdio" },
|
||||
root_dir = util.root_pattern('mw_anchor'),
|
||||
settings = {
|
||||
MATLAB = {
|
||||
indexWorkspace = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue