brandonwillard / vim-noweb

Vim plugin providing noweb features.
GNU General Public License v3.0
0 stars 0 forks source link

Syntax doesn't understand multi-line inline code #2

Open andrewdalecramer opened 6 years ago

andrewdalecramer commented 6 years ago

Example:

<%=print(html_list(
    ["{}: \"{}\"".format(k,v) for k,v in word_replacement_rules.items()]))%>

Syntax highlighting does not recognise the above as a code block. pweave treats it as valid however.

Likely fix is to remove oneline from noweb.vim (99).

brandonwillard commented 6 years ago

Thanks for the heads-up!

[Un]fortunately, I've fully converted to Emacs (more specifically, Spacemacs, since it has great Vim-like defaults) so I haven't been refining this plugin.

One of the reasons for that change was the noweb mode-switching, which is what motivated this project. polymode shares the same fundamental idea and goal, but uses Emac's indirect buffers to do it much better. It could still use some work, but I highly recommend considering it!