[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] schemas: Add vim modeline
From: |
Markus Armbruster |
Subject: |
Re: [PATCH] schemas: Add vim modeline |
Date: |
Thu, 30 Jul 2020 15:14:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Andrea Bolognani <abologna@redhat.com> writes:
> The various schemas included in QEMU use a JSON-based format which
> is, however, strictly speaking not valid JSON.
>
> As a consequence, when vim tries to apply syntax highlight rules
> for JSON (as guessed from the file name), the result is an unreadable
> mess which mostly consist of red markers pointing out supposed errors
> in, well, pretty much everything.
>
> Using Python syntax highlighting produces much better results, and
> in fact these files already start with specially-formatted comments
> that instruct Emacs to process them as if they were Python files.
>
> This commit adds the equivalent special comments for vim.
>
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Fixing the real mistake would be better, but until then, mitigating it
helps, like the existing Emacs modelines do.
Queued, thanks!
- Re: cleanups with long-term benefits (was Re: [PATCH] schemas: Add vim modeline), (continued)
- Re: cleanups with long-term benefits (was Re: [PATCH] schemas: Add vim modeline), Paolo Bonzini, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Kevin Wolf, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Eric Blake, 2020/07/30
- Re: [PATCH] schemas: Add vim modeline, John Snow, 2020/07/30
- Re: [PATCH] schemas: Add vim modeline, John Snow, 2020/07/30
- Re: [PATCH] schemas: Add vim modeline, Kevin Wolf, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Daniel P . Berrangé, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Markus Armbruster, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Kevin Wolf, 2020/07/31
- Re: [PATCH] schemas: Add vim modeline, Nir Soffer, 2020/07/31
Re: [PATCH] schemas: Add vim modeline,
Markus Armbruster <=