This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subject: [PATCH 1/3] Add a constant list of highlight lines instead of | |
computing their values during runtime. | |
Signed-off-by: Daniel Walker <dwalker@fifo99.com> | |
--- | |
after/syntax/css.vim | 1051 ++++++++++++++++++++++++++++++++++++++++++-------- | |
1 files changed, 888 insertions(+), 163 deletions(-) | |
diff --git a/after/syntax/css.vim b/after/syntax/css.vim | |
index 5cd8df9..30aca9d 100644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! <SNR>32_MatchColorValue(color, pattern) | |
if ! len(a:color) | return | endif | |
let group = 'cssColor' . tolower(a:color) | |
let pattern = a:pattern | |
if pattern =~ '\>$' | let pattern .= '\>' | endif |