aboutsummaryrefslogtreecommitdiffstats
path: root/lsp
diff options
context:
space:
mode:
authorCorpsSansOrganes <93342363+CorpsSansOrganes@users.noreply.github.com>2025-08-03 20:32:39 +0200
committerGitHub <noreply@github.com>2025-08-03 11:32:39 -0700
commitb9e0d6f6522df32780f0142569961cff0f085c25 (patch)
tree37fb3a60027689ef75420f9caeb898a13acd1d0c /lsp
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar.gz
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar.bz2
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar.lz
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar.xz
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.tar.zst
nvim-lspconfig-b9e0d6f6522df32780f0142569961cff0f085c25.zip
docs(matlab_ls): mention installPath requirement #3983
Problem: No clear documentation about requirement to set `installPath`. Solution: Add documentation in `matlab_ls.lua`.
Diffstat (limited to 'lsp')
-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,
},