aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/matlab_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/matlab_ls.lua')
-rw-r--r--lsp/matlab_ls.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/lsp/matlab_ls.lua b/lsp/matlab_ls.lua
index bdc589e9..bf4f4f78 100644
--- a/lsp/matlab_ls.lua
+++ b/lsp/matlab_ls.lua
@@ -3,6 +3,17 @@
--- https://github.com/mathworks/MATLAB-language-server
---
--- MATLAB® language server implements the Microsoft® Language Server Protocol for the MATLAB language.
+---
+--- Make sure to set `MATLAB.installPath` to your MATLAB path, e.g.:
+--- ```lua
+--- settings = {
+--- MATLAB = {
+--- ...
+--- installPath = '/usr/local/MATLAB/R2023a',
+--- ...
+--- },
+--- },
+--- ```
return {
cmd = { 'matlab-language-server', '--stdio' },
filetypes = { 'matlab' },
@@ -13,7 +24,7 @@ return {
settings = {
MATLAB = {
indexWorkspace = true,
- installPath = '',
+ installPath = '', -- NOTE: Set this to your MATLAB installation path.
matlabConnectionTiming = 'onStart',
telemetry = true,
},