From 823397f9ce500463294e73b91ad3800f570401b6 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 28 Dec 2021 17:17:01 +0100 Subject: [PATCH] vimspector: Add json comments --- after/syntax/json.vim | 4 ++++ vimspector-config/vimspector.json | 1 + 2 files changed, 5 insertions(+) create mode 100644 after/syntax/json.vim diff --git a/after/syntax/json.vim b/after/syntax/json.vim new file mode 100644 index 0000000..6db6a82 --- /dev/null +++ b/after/syntax/json.vim @@ -0,0 +1,4 @@ +syn region jsonComment start="/\*" end="\*/" +syn region jsonComment start="//" end="$" +hi link jsonCommentError Comment +hi link jsonComment Comment diff --git a/vimspector-config/vimspector.json b/vimspector-config/vimspector.json index 7f34c5f..c6a761a 100644 --- a/vimspector-config/vimspector.json +++ b/vimspector-config/vimspector.json @@ -1,3 +1,4 @@ +// This is from a template. Modify for your needs. { "configurations": { "Launch": { -- 2.39.5