Neovim + Rescript

Is there Neovim Rescript Reference setup somewhere that I might refer to?

Thanks

2 Likes

Including Merlin? I don’t think Merlin works for ReScript, which would require a thread on its own why.

I use Neovim myself for OCaml and ReScript, but never bothered to do the Merlin thing.

Can you share your setup?

I could, but it doesn’t have any setup related to ReScript except the syntax file you can find here: https://github.com/rescript-lang/vim-rescript :slight_smile:

vim-rescript adds syntax highlights + basic indent + plain vim errors/autocomplete/hover and some commands. It also ships the language server for rescript which you can use with your favorite lsp client including neovim’s.

there’s a basic configuration for rescript ls in https://github.com/neovim/nvim-lspconfig

2 Likes