feat(vim): add the rescript lsp
This commit is contained in:
parent
afb09f2436
commit
64483f8cf6
1 changed files with 9 additions and 1 deletions
|
|
@ -2,8 +2,16 @@ local lspconfig = require "lspconfig"
|
|||
|
||||
local servers = {
|
||||
-- Language servers for the day to day web development, could probably think
|
||||
-- about loosing the html and css one and living with typescript and emmet
|
||||
-- about loosing the html and css one and living with typescript, rescript
|
||||
-- and emmet
|
||||
tsserver = {},
|
||||
rescriptls = {
|
||||
cmd = {
|
||||
os.getenv "NVM_BIN" .. "/node",
|
||||
os.getenv "HOME" .. "/.config/nvim/pack/bundle/start/vim-rescript/server/out/server.js",
|
||||
"--stdio",
|
||||
},
|
||||
},
|
||||
html = {},
|
||||
cssls = {},
|
||||
emmet_ls = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue