Add matlab
This commit is contained in:
@@ -65,8 +65,10 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
localPackages.x86_64-linux.jhelioviewer
|
||||
bottles
|
||||
matlab
|
||||
discord
|
||||
wine
|
||||
matlab-language-server
|
||||
];
|
||||
|
||||
services.printing.enable = false;
|
||||
|
||||
@@ -14,6 +14,14 @@ iron.setup {
|
||||
python = {
|
||||
command = { "python3" }, -- or { "ipython", "--no-autoindent" }
|
||||
format = require("iron.fts.common").bracketed_paste_python
|
||||
},
|
||||
matlab = {
|
||||
command = {
|
||||
"matlab",
|
||||
"-nosplash",
|
||||
"-nodesktop"
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
-- How the repl window will be displayed
|
||||
|
||||
@@ -24,6 +24,16 @@ lspconfig.rust_analyzer.setup {
|
||||
},
|
||||
}
|
||||
|
||||
lspconfig.matlab_ls.setup {
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
MATLAB = {
|
||||
indexWorkspace = false,
|
||||
installPath = "",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
lspconfig.omnisharp.setup {
|
||||
cmd = { "dotnet", "/usr/lib/omnisharp-roslyn/OmniSharp.dll"}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user