aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/sas.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 18:59:39 +0100
committerGitHub <noreply@github.com>2017-11-07 18:59:39 +0100
commitae569ea57b1df1b450803b6d23ab8c315dd72e72 (patch)
tree89cded2580f6e52dc9bb8b1394184b10c696547f /runtime/syntax/sas.vim
parent06fd32b8ffc437d596a2d82a986220add4315869 (diff)
parent8c3377ee76e5cc4f5a4228f216bde1d03b496d69 (diff)
downloadrneovim-ae569ea57b1df1b450803b6d23ab8c315dd72e72.tar.gz
rneovim-ae569ea57b1df1b450803b6d23ab8c315dd72e72.tar.bz2
rneovim-ae569ea57b1df1b450803b6d23ab8c315dd72e72.zip
Merge #7500 'vim-patch: runtime'
Diffstat (limited to 'runtime/syntax/sas.vim')
-rw-r--r--runtime/syntax/sas.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/sas.vim b/runtime/syntax/sas.vim
index 82ffe605ce..fad6066737 100644
--- a/runtime/syntax/sas.vim
+++ b/runtime/syntax/sas.vim
@@ -3,7 +3,7 @@
" Maintainer: Zhen-Huan Hu <wildkeny@gmail.com>
" Original Maintainer: James Kidd <james.kidd@covance.com>
" Version: 3.0.0
-" Last Change: Mar 10, 2017
+" Last Change: Aug 26, 2017
"
" 2017 Mar 7
"
@@ -120,7 +120,7 @@ syn match sasDataStepStatement '\v%(^|;)\s*\zs%(dcl|declare)>' display contained
syn match sasDataStepStatement '\v%(^|;)\s*\zsods>' display contained contains=sasGlobalStatementKeyword nextgroup=sasGlobalStatementODSKeyword skipwhite skipnl skipempty
syn match sasDataStepStatement '\v%(^|;)\s*\zs%(format|informat|input|put)>' display contained contains=sasDataStepStatementKeyword nextgroup=sasFormatContext skipwhite skipnl skipempty
syn match sasDataStepStatement '\v%(^|;)\s*\zs%(cards|datalines|lines)4=\s*;' display contained contains=sasDataStepStatementKeyword nextgroup=sasDataLine skipwhite skipnl skipempty
-syn region sasDataLine start='^' end='^;'me=s-1 contained
+syn region sasDataLine start='^' end='^\s*;'me=s-1 contained
syn region sasDataStep matchgroup=sasSectionKeyword start='\v%(^|;)\s*\zsdata>' end='\v%(^|;)\s*%(run|data|proc|endsas)>'me=s-1 fold contains=@sasBasicSyntax,@sasDataStepSyntax
syn cluster sasDataStepSyntax contains=sasDataStepFunction,sasDataStepHashOperator,sasDataStepHashAttribute,sasDataStepHashMethod,sasDataStepControl,sasDataStepStatement