[2024-06-07] Adding lua_ls and addding $HOME directory for language servers
This commit is contained in:
parent
db30de940b
commit
82093cf953
8
nvim/lua/plugins/lua_ls.lua
Normal file
8
nvim/lua/plugins/lua_ls.lua
Normal file
@ -0,0 +1,8 @@
|
||||
local coq = require("coq")
|
||||
local util = require("lspconfig.util")
|
||||
require('lspconfig').lua_ls.setup(
|
||||
coq.lsp_ensure_capabilities({
|
||||
cmd = { os.getenv("HOME") .. "/lua-language-server/bin/lua-language-server" },
|
||||
root_dir = util.root_pattern('init.lua'),
|
||||
})
|
||||
)
|
@ -2,7 +2,7 @@ local coq = require("coq")
|
||||
local util = require("lspconfig.util")
|
||||
require('lspconfig').matlab_ls.setup(
|
||||
coq.lsp_ensure_capabilities({
|
||||
cmd = { "node", "/mathworks/home/aconlin/MATLAB-language-server/out/index.js", "--stdio" },
|
||||
cmd = { "node", os.getenv("HOME") .. "/MATLAB-language-server/out/index.js", "--stdio" },
|
||||
root_dir = util.root_pattern('mw_anchor'),
|
||||
settings = {
|
||||
MATLAB = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user