aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/plsql.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 21:06:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-28 21:13:55 +0200
commita53409b564458f7a94c8fcd0725d1953dee58dce (patch)
tree27bf0fa5f804d33455b66814c62a0f3358809d1b /runtime/syntax/plsql.vim
parentf09651ea78b833d6d05db89c41df603b741ab000 (diff)
downloadrneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.tar.gz
rneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.tar.bz2
rneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.zip
vim-patch:89bcfda6834a
Updated runtime files. Remove version checks for Vim older than 6.0. https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Diffstat (limited to 'runtime/syntax/plsql.vim')
-rw-r--r--runtime/syntax/plsql.vim91
1 files changed, 40 insertions, 51 deletions
diff --git a/runtime/syntax/plsql.vim b/runtime/syntax/plsql.vim
index 6e513660f8..173c22f761 100644
--- a/runtime/syntax/plsql.vim
+++ b/runtime/syntax/plsql.vim
@@ -9,11 +9,8 @@
" Austin Ziegler (austin at halostatue dot ca)
" Added 8i+ features.
"
-" For version 5.x, clear all syntax items.
-" For version 6.x, quit when a syntax file was already loaded.
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
finish
endif
@@ -223,54 +220,46 @@ endif
syn sync minlines=10 maxlines=100
" Define the default highlighting.
-" For version 5.x and earlier, only when not done already.
-" For version 5.8 and later, only when an item doesn't have highlighting yet.
-if version >= 508 || !exists("did_plsql_syn_inits")
- if version < 508
- let did_plsql_syn_inits = 1
- command -nargs=+ HiLink hi link <args>
- else
- command -nargs=+ HiLink hi def link <args>
- endif
+" Only when an item doesn't have highlighting yet.
+command -nargs=+ HiLink hi def link <args>
- HiLink plsqlAttribute Macro
- HiLink plsqlBlockError Error
- HiLink plsqlBooleanLiteral Boolean
- HiLink plsqlCharLiteral Character
- HiLink plsqlComment Comment
- HiLink plsqlCommentL Comment
- HiLink plsqlConditional Conditional
- HiLink plsqlError Error
- HiLink plsqlErrInBracket Error
- HiLink plsqlErrInBlock Error
- HiLink plsqlErrInParen Error
- HiLink plsqlException Function
- HiLink plsqlFloatLiteral Float
- HiLink plsqlFunction Function
- HiLink plsqlGarbage Error
- HiLink plsqlHostIdentifier Label
- HiLink plsqlIdentifier Normal
- HiLink plsqlIntLiteral Number
- HiLink plsqlOperator Operator
- HiLink plsqlParen Normal
- HiLink plsqlParenError Error
- HiLink plsqlSpaceError Error
- HiLink plsqlPseudo PreProc
- HiLink plsqlKeyword Keyword
- HiLink plsqlRepeat Repeat
- HiLink plsqlStorage StorageClass
- HiLink plsqlSQLKeyword Function
- HiLink plsqlStringError Error
- HiLink plsqlStringLiteral String
- HiLink plsqlCommentString String
- HiLink plsqlComment2String String
- HiLink plsqlSymbol Normal
- HiLink plsqlTrigger Function
- HiLink plsqlTypeAttribute StorageClass
- HiLink plsqlTodo Todo
+HiLink plsqlAttribute Macro
+HiLink plsqlBlockError Error
+HiLink plsqlBooleanLiteral Boolean
+HiLink plsqlCharLiteral Character
+HiLink plsqlComment Comment
+HiLink plsqlCommentL Comment
+HiLink plsqlConditional Conditional
+HiLink plsqlError Error
+HiLink plsqlErrInBracket Error
+HiLink plsqlErrInBlock Error
+HiLink plsqlErrInParen Error
+HiLink plsqlException Function
+HiLink plsqlFloatLiteral Float
+HiLink plsqlFunction Function
+HiLink plsqlGarbage Error
+HiLink plsqlHostIdentifier Label
+HiLink plsqlIdentifier Normal
+HiLink plsqlIntLiteral Number
+HiLink plsqlOperator Operator
+HiLink plsqlParen Normal
+HiLink plsqlParenError Error
+HiLink plsqlSpaceError Error
+HiLink plsqlPseudo PreProc
+HiLink plsqlKeyword Keyword
+HiLink plsqlRepeat Repeat
+HiLink plsqlStorage StorageClass
+HiLink plsqlSQLKeyword Function
+HiLink plsqlStringError Error
+HiLink plsqlStringLiteral String
+HiLink plsqlCommentString String
+HiLink plsqlComment2String String
+HiLink plsqlSymbol Normal
+HiLink plsqlTrigger Function
+HiLink plsqlTypeAttribute StorageClass
+HiLink plsqlTodo Todo
- delcommand HiLink
-endif
+delcommand HiLink
let b:current_syntax = "plsql"