Hackfut Security File Manager
Current Path:
/usr/share/vim/vim74/indent
usr
/
share
/
vim
/
vim74
/
indent
/
π
..
π
README.txt
(1.6 KB)
π
aap.vim
(265 B)
π
ada.vim
(10.89 KB)
π
ant.vim
(290 B)
π
automake.vim
(231 B)
π
awk.vim
(7.57 KB)
π
bib.vim
(346 B)
π
bst.vim
(1.87 KB)
π
c.vim
(325 B)
π
cdl.vim
(4.07 KB)
π
ch.vim
(470 B)
π
chaiscript.vim
(1.11 KB)
π
changelog.vim
(264 B)
π
clojure.vim
(11.85 KB)
π
cmake.vim
(2.69 KB)
π
cobol.vim
(8 KB)
π
config.vim
(2.12 KB)
π
cpp.vim
(329 B)
π
cs.vim
(327 B)
π
css.vim
(1.68 KB)
π
cucumber.vim
(2.56 KB)
π
cuda.vim
(305 B)
π
d.vim
(510 B)
π
dictconf.vim
(325 B)
π
dictdconf.vim
(326 B)
π
docbk.vim
(324 B)
π
dtd.vim
(11.39 KB)
π
dtrace.vim
(451 B)
π
dylan.vim
(2.6 KB)
π
eiffel.vim
(3.13 KB)
π
erlang.vim
(45.15 KB)
π
eruby.vim
(2.11 KB)
π
eterm.vim
(638 B)
π
falcon.vim
(13.65 KB)
π
fortran.vim
(6.41 KB)
π
framescript.vim
(786 B)
π
gitconfig.vim
(817 B)
π
gitolite.vim
(996 B)
π
haml.vim
(2.14 KB)
π
hamster.vim
(1.37 KB)
π
html.vim
(14.46 KB)
π
htmldjango.vim
(273 B)
π
idlang.vim
(1.53 KB)
π
ishd.vim
(1.8 KB)
π
java.vim
(4.02 KB)
π
javascript.vim
(336 B)
π
jsp.vim
(462 B)
π
ld.vim
(1.71 KB)
π
lifelines.vim
(637 B)
π
liquid.vim
(1.83 KB)
π
lisp.vim
(353 B)
π
logtalk.vim
(1.65 KB)
π
lua.vim
(1.87 KB)
π
mail.vim
(308 B)
π
make.vim
(3.35 KB)
π
matlab.vim
(1.88 KB)
π
mma.vim
(2.17 KB)
π
mp.vim
(6.37 KB)
π
objc.vim
(1.61 KB)
π
ocaml.vim
(8.9 KB)
π
occam.vim
(4.53 KB)
π
pascal.vim
(5.52 KB)
π
perl.vim
(5.67 KB)
π
perl6.vim
(3.42 KB)
π
php.vim
(18.97 KB)
π
postscr.vim
(1.58 KB)
π
pov.vim
(2.58 KB)
π
prolog.vim
(1.42 KB)
π
pyrex.vim
(326 B)
π
python.vim
(5.61 KB)
π
r.vim
(14.44 KB)
π
readline.vim
(681 B)
π
rpl.vim
(1.79 KB)
π
rst.vim
(1.35 KB)
π
ruby.vim
(17.13 KB)
π
sass.vim
(1018 B)
π
scheme.vim
(241 B)
π
scss.vim
(191 B)
π
sdl.vim
(2.7 KB)
π
sh.vim
(3.95 KB)
π
sml.vim
(6.27 KB)
π
sql.vim
(1.18 KB)
π
sqlanywhere.vim
(12.77 KB)
π
tcl.vim
(1.56 KB)
π
tcsh.vim
(1.21 KB)
π
tex.vim
(9.47 KB)
π
tf.vim
(1.46 KB)
π
tilde.vim
(994 B)
π
treetop.vim
(677 B)
π
vb.vim
(2 KB)
π
verilog.vim
(7.44 KB)
π
vhdl.vim
(13.48 KB)
π
vim.vim
(2.76 KB)
π
xf86conf.vim
(679 B)
π
xhtml.vim
(269 B)
π
xinetd.vim
(1.17 KB)
π
xml.vim
(2.77 KB)
π
xsd.vim
(253 B)
π
xslt.vim
(297 B)
π
yacc.vim
(769 B)
π
yaml.vim
(4.02 KB)
π
zimbu.vim
(3.8 KB)
π
zsh.vim
(231 B)
Editing: rst.vim
" Vim indent file " Language: reStructuredText Documentation Format " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2011-08-03 if exists("b:did_indent") finish endif let b:did_indent = 1 setlocal indentexpr=GetRSTIndent() setlocal indentkeys=!^F,o,O setlocal nosmartindent if exists("*GetRSTIndent") finish endif let s:itemization_pattern = '^\s*[-*+]\s' let s:enumeration_pattern = '^\s*\%(\d\+\|#\)\.\s\+' function GetRSTIndent() let lnum = prevnonblank(v:lnum - 1) if lnum == 0 return 0 endif let ind = indent(lnum) let line = getline(lnum) if line =~ s:itemization_pattern let ind += 2 elseif line =~ s:enumeration_pattern let ind += matchend(line, s:enumeration_pattern) endif let line = getline(v:lnum - 1) " Indent :FIELD: lines. Donβt match if there is no text after the field or " if the text ends with a sent-ender. if line =~ '^:.\+:\s\{-1,\}\S.\+[^.!?:]$' return matchend(line, '^:.\{-1,}:\s\+') endif if line =~ '^\s*$' execute lnum call search('^\s*\%([-*+]\s\|\%(\d\+\|#\)\.\s\|\.\.\|$\)', 'bW') let line = getline('.') if line =~ s:itemization_pattern let ind -= 2 elseif line =~ s:enumeration_pattern let ind -= matchend(line, s:enumeration_pattern) elseif line =~ '^\s*\.\.' let ind -= 3 endif endif return ind endfunction
Upload File
Create Folder