From f7160f32186b4ae1e1327e3bd05060fffec8f9ae Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 29 Jul 2020 20:50:24 +0200 Subject: schemas: Add vim modeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Message-Id: <20200729185024.121766-1-abologna@redhat.com> Reviewed-by: Daniel P. Berrangé Reviewed-by: John Snow Signed-off-by: Markus Armbruster --- docs/interop/firmware.json | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/interop/firmware.json') diff --git a/docs/interop/firmware.json b/docs/interop/firmware.json index 240f565..989f10b 100644 --- a/docs/interop/firmware.json +++ b/docs/interop/firmware.json @@ -1,4 +1,5 @@ # -*- Mode: Python -*- +# vim: filetype=python # # Copyright (C) 2018 Red Hat, Inc. # -- cgit v1.1