Closed arnoldmashava closed 1 year ago
In the Documentation for configuring the registration of the LSPs in the ~/.vimrc file, the code block for the registration of clj-kondo:
LSPs
~/.vimrc
au User lsp_setup call lsp#register_server({ \ 'name': 'clj-kondo', \ 'cmd': {server_info->[&shell, &shellcmdflag, 'java -jar ~/clj-kondo-lsp']}, \ 'allowlist': ['clojure', 'clojurescript'] \ }) endif
requires just a little refinement, because the endif results in the error:
endif
Error detected while processing /home/Arnold.Mashava/.vimrc: line 394: E580: :endif without :if: endif Press ENTER or type command to continue
The endif should be removed at the end of the code block - to result in:
au User lsp_setup call lsp#register_server({ \ 'name': 'clj-kondo', \ 'cmd': {server_info->[&shell, &shellcmdflag, 'java -jar ~/clj-kondo-lsp']}, \ 'allowlist': ['clojure', 'clojurescript'] \ })
Fixed.
Thank you so much @mattn.
Everything is flawless now and my highest regards to Team prabirshrestha/vim-lsp/.
prabirshrestha/vim-lsp/
Muchas Gracias y Saludos Cordiales,
Arnold Mashava.
In the Documentation for configuring the registration of the
LSPs
in the~/.vimrc
file, the code block for the registration of clj-kondo:requires just a little refinement, because the
endif
results in the error:The
endif
should be removed at the end of the code block - to result in: