elixir-tools / elixir-tools.nvim

Neovim plugin for Elixir
MIT License
417 stars 31 forks source link

elixir-vim syntax but elixir.nvim for everything else #41

Closed trashhalo closed 2 years ago

trashhalo commented 2 years ago

Like the title says, is this possible? I like that with elixir-vim in @doc comments examples are rendered a different color.

mhanberg commented 2 years ago

elixir.nvim does not handle any syntax highlighting (treesitter takes care of that), so you should be able to still use vim-elixir for the highlighting. I don't think there really should be any other conflicts, but let me know if there are.

trashhalo commented 2 years ago

Im just not sure how to ask nvim to use a specific plugin for syntax highlighting elixir.

mhanberg commented 2 years ago

elixir.nvim does not provide any highlighting, so if you use vim-elixir, it will just work.