updated for version 7.0084
This commit is contained in:
@ -2,7 +2,13 @@
|
||||
" Language: Lua script
|
||||
" Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br>
|
||||
" First Author: Max Ischenko <mfi 'at' ukr.net>
|
||||
" Last Change: 2004 Aug 29
|
||||
" Last Change: 2005 Jun 09
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
" Only define the function once.
|
||||
if exists("*GetLuaIndent")
|
||||
|
||||
@ -1,35 +1,35 @@
|
||||
" Vim indent file
|
||||
" Language: MuPAD source files
|
||||
" Maintainer: Dave Silvia <dsilvia@mchsi.com>
|
||||
" Filenames: *.mu
|
||||
" Date: 6/30/2004
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:did_indent = 1
|
||||
|
||||
runtime indent/GenericIndent.vim
|
||||
|
||||
let b:indentStmts=''
|
||||
let b:dedentStmts=''
|
||||
let b:allStmts=''
|
||||
" NOTE: b:indentStmts, b:dedentStmts, and b:allStmts need to be initialized
|
||||
" to '' before callin the functions because 'indent.vim' explicitly
|
||||
" 'unlet's b:did_indent. This means that the lists will compound if
|
||||
" you change back and forth between buffers. This is true as of
|
||||
" version 6.3, 6/23/2004.
|
||||
setlocal indentexpr=GenericIndent()
|
||||
setlocal indentkeys==end_proc,=then,=else,=elif,=end_if,=end_case,=until,=end_repeat,=end_domain,=end_for,=end_while,=end,o,O
|
||||
|
||||
call GenericIndentStmts('begin,if,then,else,elif,case,repeat,until,domain,do')
|
||||
call GenericDedentStmts('end_proc,then,else,elif,end_if,end_case,until,end_repeat,end_domain,end_for,end_while,end')
|
||||
call GenericAllStmts()
|
||||
|
||||
|
||||
" TODO: More comprehensive indentstmt, dedentstmt, and indentkeys values.
|
||||
"
|
||||
" BUGS: You tell me! Probably. I just haven't found one yet or haven't been
|
||||
" told about one.
|
||||
"
|
||||
" Vim indent file
|
||||
" Language: MuPAD source files
|
||||
" Maintainer: Dave Silvia <dsilvia@mchsi.com>
|
||||
" Filenames: *.mu
|
||||
" Date: 6/30/2004
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:did_indent = 1
|
||||
|
||||
runtime indent/GenericIndent.vim
|
||||
|
||||
let b:indentStmts=''
|
||||
let b:dedentStmts=''
|
||||
let b:allStmts=''
|
||||
" NOTE: b:indentStmts, b:dedentStmts, and b:allStmts need to be initialized
|
||||
" to '' before callin the functions because 'indent.vim' explicitly
|
||||
" 'unlet's b:did_indent. This means that the lists will compound if
|
||||
" you change back and forth between buffers. This is true as of
|
||||
" version 6.3, 6/23/2004.
|
||||
setlocal indentexpr=GenericIndent()
|
||||
setlocal indentkeys==end_proc,=then,=else,=elif,=end_if,=end_case,=until,=end_repeat,=end_domain,=end_for,=end_while,=end,o,O
|
||||
|
||||
call GenericIndentStmts('begin,if,then,else,elif,case,repeat,until,domain,do')
|
||||
call GenericDedentStmts('end_proc,then,else,elif,end_if,end_case,until,end_repeat,end_domain,end_for,end_while,end')
|
||||
call GenericAllStmts()
|
||||
|
||||
|
||||
" TODO: More comprehensive indentstmt, dedentstmt, and indentkeys values.
|
||||
"
|
||||
" BUGS: You tell me! Probably. I just haven't found one yet or haven't been
|
||||
" told about one.
|
||||
"
|
||||
|
||||
13
runtime/indent/xsd.vim
Normal file
13
runtime/indent/xsd.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" Vim indent file
|
||||
" Language: .xsd files (XML Schema)
|
||||
" Maintainer: Nobody
|
||||
" Last Change: 2005 Jun 09
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Use XML formatting rules
|
||||
runtime! indent/xml.vim
|
||||
|
||||
Reference in New Issue
Block a user