From 6d43613a778cee493c73e1681194e02ae7d8dda2 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Fri, 3 May 2024 18:14:02 +0200 Subject: [PATCH] Add matlab lsp --- .config/nvim/lua/plugins/lsp.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 2942f7d..f49aadf 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -173,6 +173,16 @@ return { -- "--pch-storage=memory" } } + + require('lspconfig').matlab_ls.setup({ + settings = { + filetypes = {"matlab"}, + matlab = { + installPath = "/opt/matlab/R2023a/" + }, + }, + single_file_support = true + }) end } }