feat(vim): add the rescript lsp

This commit is contained in:
Ade Attwood 2023-01-20 07:55:11 +00:00
parent afb09f2436
commit 64483f8cf6

View file

@ -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 = {