From 5f5ecde6077fae0310f73c2c16618001953cd4a5 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 8 Jan 2017 11:00:18 +0000 Subject: [PATCH] Extend html, css, and javascript syntaxes --- after/syntax/css.vim | 2 ++ after/syntax/html.vim | 4 ++++ after/syntax/javascript.vim | 1 + 3 files changed, 7 insertions(+) create mode 100644 after/syntax/css.vim create mode 100644 after/syntax/html.vim create mode 100644 after/syntax/javascript.vim diff --git a/after/syntax/css.vim b/after/syntax/css.vim new file mode 100644 index 0000000..9d9990d --- /dev/null +++ b/after/syntax/css.vim @@ -0,0 +1,2 @@ +hi link cssBlock Delimiter +hi link cssNoise Delimiter diff --git a/after/syntax/html.vim b/after/syntax/html.vim new file mode 100644 index 0000000..f70fb7e --- /dev/null +++ b/after/syntax/html.vim @@ -0,0 +1,4 @@ +syn keyword htmlTodo TODO +syn region htmlCommentPart contained start=+--+ end=+--\s*+ contains=htmlTodo,@htmlPreProc,@Spell + +hi default link htmlTodo Todo diff --git a/after/syntax/javascript.vim b/after/syntax/javascript.vim new file mode 100644 index 0000000..911d79a --- /dev/null +++ b/after/syntax/javascript.vim @@ -0,0 +1 @@ +hi link javaScriptBraces Delimiter