⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stp.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file"    Language: Stored Procedures (STP)"  Maintainer: Jeff Lanzarotta (frizbeefanatic@yahoo.com)"         URL: http://lanzarotta.tripod.com/vim/syntax/plsql.vim.zip" Last Change: April 30, 2001" For version 5.x, clear all syntax items." For version 6.x, quit when a syntax file was already loaded.if version < 600  syntax clearelseif exists("b:current_syntax")  finishendifsyn case ignore" The STP reserved words, defined as keywords.syn keyword stpSpecial    nullsyn keyword stpKeyword    begin break call case create deallocate dynamic elsesyn keyword stpKeyword    elseif end execute for from function go grant ifsyn keyword stpKeyword    index insert into max min on output procedure publicsyn keyword stpKeyword    result return returns scroll table then to when whilesyn keyword stpOperator   asc not and or desc group having in is any some allsyn keyword stpOperator   between exists like escape with union intersect minussyn keyword stpOperator   out prior distinct sysdatesyn keyword stpStatement  alter analyze as audit avg by close clustered commentsyn keyword stpStatement  commit continue count create cursor declare deletesyn keyword stpStatement  drop exec execute explain fetch from index insertsyn keyword stpStatement  into lock max min next noaudit nonclustered open ordersyn keyword stpStatement  output print raiserror recompile rename revokesyn keyword stpStatement  rollback savepoint select set sum transactionsyn keyword stpStatement  truncate unique update values wheresyn keyword stpFunction   abs acos ascii asin atan atn2 avg ceiling charindexsyn keyword stpFunction   charlength convert col_name col_length cos cot countsyn keyword stpFunction   curunreservedpgs datapgs datalength dateadd datediffsyn keyword stpFunction   datename datepart db_id db_name degree differencesyn keyword stpFunction   exp floor getdate hextoint host_id host_name index_colsyn keyword stpFunction   inttohex isnull lct_admin log log10 lower ltrim maxsyn keyword stpFunction   min now object_id object_name patindex pi pos powersyn keyword stpFunction   proc_role radians rand replace replicate reserved_pgssyn keyword stpFunction   reverse right rtrim rowcnt round show_role sign sinsyn keyword stpFunction   soundex space sqrt str stuff substr substring sumsyn keyword stpFunction   suser_id suser_name tan tsequal upper used_pgs usersyn keyword stpFunction   user_id user_name valid_name valid_usersyn keyword stpType       binary bit char datetime decimal double float imagesyn keyword stpType       int integer long money nchar numeric precision realsyn keyword stpType       smalldatetime smallint smallmoney text time tinyintsyn keyword stpType       timestamp varbinary varcharsyn keyword stpGlobals    @@char_convert @@cient_csname @@client_csidsyn keyword stpGlobals    @@connections @@cpu_busy @@error @@identitysyn keyword stpGlobals    @@idle @@io_busy @@isolation @@langid @@languagesyn keyword stpGlobals    @@maxcharlen @@max_connections @@ncharsizesyn keyword stpGlobals    @@nestlevel @@packet_errors @@pack_receivedsyn keyword stpGlobals    @@pack_sent @@procid @@rowcount @@servernamesyn keyword stpGlobals    @@spid @@sqlstatus @@testts @@textcolid @@textdbidsyn keyword stpGlobals    @@textobjid @@textptr @@textsize @@thresh_hysteresissyn keyword stpGlobals    @@timeticks @@total_error @@total_read @@total_writesyn keyword stpGlobals    @@tranchained @@trancount @@transtate @@versionsyn keyword stpTodo       TODO FIXME XXX DEBUG NOTE" Strings and characters:syn match   stpStringError  "'.*$"syn match   stpString	      "'\([^']\|''\)*'"" Numbers:syn match   stpNumber		  "-\=\<\d*\.\=[0-9_]\>"" Comments:syn region  stpComment    start="/\*"  end="\*/" contains=stpTodosyn match   stpComment    "--.*" contains=stpTodo" Parens:syn region  stpParen      transparent start='(' end=')' contains=ALLBUT,stpParenErrorsyn match   stpParenError ")"" Syntax Synchronizingsyn sync    minlines=10	maxlines=100" Syntax Synchronizingsyn 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 and item doesn't have highlighting yet.if version >= 508 || !exists("did_stp_syn_inits")  if version < 508    let did_stp_syn_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink stpComment Comment  HiLink stpKeyword Keyword  HiLink stpNumber	Number  HiLink stpOperator	Operator  HiLink stpSpecial Special  HiLink stpStatement	Statement  HiLink stpString	String  HiLink stpStringError Error  HiLink stpType Type  HiLink stpTodo Todo  HiLink stpFunction	Function  HiLink stpGlobals Macro  HiLink stpParen Normal  HiLink stpParenError Error  HiLink stpSQLKeyword Function  delcommand HiLinkendiflet b:current_syntax = "stp"" vim ts=8 sw=2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -