1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 01:35:46 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/matlab_ls.lua

26 lines
603 B
Lua
Raw Normal View History

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'matlab-language-server', '--stdio' },
filetypes = { 'matlab' },
root_dir = util.find_git_ancestor,
single_file_support = false,
settings = {
MATLAB = {
indexWorkspace = false,
installPath = '',
matlabConnectionTiming = 'onStart',
telemetry = true,
},
},
},
docs = {
description = [[
https://github.com/mathworks/MATLAB-language-server
MATLAB® language server implements the Microsoft® Language Server Protocol for the MATLAB language.
]],
},
}