vimspector: Add json comments
authorStefan Huber <shuber@sthu.org>
Tue, 28 Dec 2021 16:17:01 +0000 (17:17 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 28 Dec 2021 16:17:01 +0000 (17:17 +0100)
after/syntax/json.vim [new file with mode: 0644]
vimspector-config/vimspector.json

diff --git a/after/syntax/json.vim b/after/syntax/json.vim
new file mode 100644 (file)
index 0000000..6db6a82
--- /dev/null
@@ -0,0 +1,4 @@
+syn region jsonComment start="/\*" end="\*/"
+syn region jsonComment start="//" end="$"
+hi link jsonCommentError Comment
+hi link jsonComment Comment
index 7f34c5f05f629817d9c919bc76d327b787308ecc..c6a761ac833b9c8a38400a0b2b2c6c3d6eb72620 100644 (file)
@@ -1,3 +1,4 @@
+// This is from a template. Modify for your needs.
 {
     "configurations": {
         "Launch": {
 {
     "configurations": {
         "Launch": {