-
Notifications
You must be signed in to change notification settings - Fork 306
Servers Erlang
Roberto Aloi edited this page Jun 13, 2024
·
2 revisions
$ git clone --depth 1 https://github.com/erlang-ls/erlang_ls.git
$ cd erlang_ls
$ make && make install
if executable('erlang_ls')
au User lsp_setup call lsp#register_server({
\ 'name': 'erlang_ls',
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'erlang_ls --transport stdio']},
\ 'whitelist': ['erlang'],
\ })
endif
Please refer to the official documentation for how to install ELP from binary or from source.
if executable('elp')
au User lsp_setup call lsp#register_server({
\ 'name': 'elp',
\ 'cmd': {server_info->['elp', 'server']},
\ 'allowlist': ['erlang'],
\ })
endif