From 0cee5ed4152a3dc96bb454bfa5c4655974d03732 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 13 Feb 2019 01:45:05 -0500 Subject: Match newlines in sh strings --- bin/hi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hi.c b/bin/hi.c index 2da1ea6d..9fbe8894 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -213,7 +213,7 @@ static const struct Syntax ShSyntax[] = { "|" "[.:]|break|continue|eval|exec|exit|export|local|readonly|return" "|" "set|shift|times|trap|unset" ")" WB }, - { String, + { String, .newline = true, .pattern = PATTERN_DQ }, { String, .newline = true, .subexp = 1, .pattern = "<<-?" WS "EOF[^\n]*\n" @@ -229,7 +229,7 @@ static const struct Syntax ShSyntax[] = { .pattern = "[$][{][^}]*[}]" }, { Interp, .parent = ~SET(Escape), .pattern = "[$][(][^)]*[)]" "|" "`[^`]*`" }, - { String, + { String, .newline = true, .pattern = "'[^']*'" }, { String, .subexp = 1, .newline = true, .pattern = "<<-?" WS "'EOF'[^\n]*\n" -- cgit 1.4.1 7bee52d880915a59028e3f6f5ff8e335a'>refs log tree commit diff
path: root/bundle/vim-space (unfollow)
Commit message (Expand)Author
2012-01-30Disable menu bar in GVimJune McEnroe
2012-01-30Set shiftwidth to 4 for LuaJune McEnroe
2012-01-29Don't show Syntastic errors automaticallyJune McEnroe
2012-01-28Update to Quicktask 1.1June McEnroe
2012-01-22Use space-test branch of quicktaskJune McEnroe
2012-01-22Enable syntax-based foldingJune McEnroe
2012-01-22Update quicktaskJune McEnroe
2012-01-22Revert "Add AutoClose"June McEnroe
2012-01-22Revert "Disable powerline for now"June McEnroe
2012-01-22Revert "Add VCS repo directories to wildignore"June McEnroe
2012-01-22Disable powerline for nowJune McEnroe
2012-01-22Update some pluginsJune McEnroe
2012-01-22Add VCS repo directories to wildignoreJune McEnroe
2012-01-22Map ,e and ,b to CtrlP file and buffer respectivelyJune McEnroe
2012-01-22Add vim-spaceJune McEnroe
2012-01-22Add AutoCloseJune McEnroe
2012-01-22Add binding for GundoJune McEnroe
2012-01-22Add GundoJune McEnroe
2012-01-22Add Jellybeans colorschemeJune McEnroe
2012-01-22Add syntasticJune McEnroe
2012-01-21Add PowerlineJune McEnroe
2012-01-21Add quicktaskJune McEnroe
2012-01-15Moved comments out of mapsJune McEnroe
2012-01-14Disable scrollbarsJune McEnroe