-
Notifications
You must be signed in to change notification settings - Fork 154
% and Tag Highlighting are not working for HEEX as they are working for EElixir format #567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also encountering this. Using Neovim if that's useful. |
@mbramson , @collegeimprovements: There was a commit on both Take a look at vim/vim@8967f6c & neovim/neovim@9b2f251 Some distributions (like For example, in my configuration, the patch sits on " See: https://github.com/vim/vim/blob/master/runtime/ftplugin/heex.vim
" HTML: thanks to Johannes Zellner and Benji Fisher.
if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 1
let b:match_words = '<%\{-}!--:--%\{-}>,' ..
\ '<:>,' ..
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' ..
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' ..
\ '<\@<=\([^/!][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words"
endif
That would be only a work-around but that's what I can offer you right now since I'm not sure how Hope it helps on the meantime 🙂. |
Forgot to mention that such patch only addresses the problem with A work-around for syntax highlighting would be to include |
Sorry, I linked the wrong issue. My PR does not affect this one. |
Filing a bug? Have you already tried updating
vim-elixir
? For indentation/highlighting bugs, please use the following template:Actual EElixir filetype for same format
Actual HEEX filetype for same format
Also,
%
is not working as it doesn't take us to closing tag.The text was updated successfully, but these errors were encountered: