Closed carlotm closed 10 months ago
Hello, my vimrc is using vim9script. Can I translate:
if executable('elixir-ls') au User lsp_setup call lsp#register_server({ \ 'name': 'elixir-ls', \ 'cmd': {server_info->['elixir-ls']}, \ 'allowlist': ['elixir'], \ }) endif
to
if executable("elixir-ls") au User lsp_setup lsp#register_server({ name: 'elixir-ls', cmd: 'elixir-ls', allowlist: ['elixir'] }) endif
I got this error:
E492: Not an editor command: ^I^I^I^Iname: 'elixir-ls',
What I am doing wrong? Thank you
AFAIK, you still need line continuation backslashes when using autocmd in vim9script
autocmd
Ok, thanks
Hello, my vimrc is using vim9script. Can I translate:
to
I got this error:
What I am doing wrong? Thank you