vim

gtbono 2024-12-18T15:19:33.308129Z

hey folks, is elin and vim-iced meant to be used together with clojure-lsp and the neovim native lsp mode? or they overlap and I only need elin? @liquidz.uo

juhoteperi 2024-12-18T15:22:55.409929Z

> This project is being developed as the successor to vim-iced and, as same as vim-iced, is heavily inspired by CIDER. Elin

juhoteperi 2024-12-18T15:24:15.926399Z

You can use vim-iced together with clojure-lsp. Lsp can be used to provide the autocomple results. Then you don't need to care for vim-iced autocomplete extras.

juhoteperi 2024-12-18T15:25:51.253979Z

Lsp also provides most of the the same refactoring features as iced provides with nrepl-refactor, so no need to use those features through repl either.

2024-12-18T22:01:29.841669Z

Yes, elin can be used with clojure-lsp! Unlike iced, elin does not provide refactoring features by default to avoid duplicating those provided by clojure-lsp.

gtbono 2024-12-18T22:10:28.964709Z

thanks everyone! so if I already have clojure-lsp installed, what functions would it duplicate with elin? I saw that elin also has code navigation and find references, as well as autocomplete with omnifunc, do I need to disable/not enable tbese features?

2024-12-18T22:16:33.330959Z

Basically, there is no need to disable it (I am using it without disabling it), but if you are using omni completion, you may end up with duplicate candidates. Currently, we did not have an option to disable registration of omnifunc, so I will provide that.