Skip to content

Instantly share code, notes, and snippets.

@mattn
Created March 17, 2015 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/f2d00a2b26044d840a4c to your computer and use it in GitHub Desktop.
Save mattn/f2d00a2b26044d840a4c to your computer and use it in GitHub Desktop.
ada.vim:90: return a:prev_indent - &sw
ada.vim:134: return a:prev_indent - &sw
ada.vim:216: let ind = ind + &sw
ada.vim:220: let ind = ind + 2 * &sw
ada.vim:224: let ind = s:MainBlockIndent( ind+&sw, lnum, 'type\>', '' )
ada.vim:238: let ind = ind + &sw
ada.vim:241: let ind = s:StatementIndent( ind - &sw, lnum )
ada.vim:259: let ind = ind + &sw
ada.vim:264: let ind = s:MainBlockIndent( ind, lnum, 'type\>\|for\>.*\<use\>', '' ) + &sw
ada.vim:269: let ind = s:MainBlockIndent( ind, lnum, '\(case\|exception\)\>', '' ) + &sw
awk.vim:63: return ind + &sw
awk.vim:102: return ind + &sw
awk.vim:143: let ind = ind - &sw
cdl.vim:50: return &sw
cdl.vim:74: return &sw
cdl.vim:78: let ind = ind + &sw
cdl.vim:80: let ind = ind + &sw
cdl.vim:101: let ind = ind - &sw
cdl.vim:103: let ind = ind + &sw
cdl.vim:110: let ind = ind + &sw
cdl.vim:118: let ind = ind - &sw
cdl.vim:124: let ind = ind + &sw
cmake.vim:71: let ind = ind + &sw
cmake.vim:74: let ind = ind + &sw
cmake.vim:80: let ind = ind - &sw
cmake.vim:83: let ind = ind - &sw
bst.vim:72: let ind = ind + &sw * s:count(line,'{')
bst.vim:73: let ind = ind - &sw * s:count(fakeline,'}')
cobol.vim:55: let ind = indent(lastclause) + &sw
cobol.vim:56: "let ind = ind + &sw
cobol.vim:59: let ind = ind + &sw
cobol.vim:101: elseif 0+cnum > num && default < lindent + &sw
cobol.vim:102: let default = lindent + &sw
cobol.vim:138: let ind = ind + &sw
cobol.vim:140: let ind = ind + &sw
cobol.vim:144: let ind = ind + &sw
cobol.vim:160: let ind = indent(lastclause) + &sw
cobol.vim:163: let ind = ind + &sw
cobol.vim:171: let ind = ind - &sw
cobol.vim:212: let ind = ind - &sw
css.vim:78: return indent(pnum) + s:count_braces(pnum, 1) * &sw
css.vim:79: \ - s:count_braces(v:lnum, 0) * &sw
cucumber.vim:38: return 2 * &sw
cucumber.vim:41: return &sw
cucumber.vim:44: return &sw
cucumber.vim:47: return 3 * &sw
cucumber.vim:50: return 2 * &sw
cucumber.vim:56: return &sw
cucumber.vim:63: return indent(prevnonblank(v:lnum-1)) + &sw
cucumber.vim:66: return indent(prevnonblank(v:lnum-1)) - &sw
cucumber.vim:69: return &sw
dtd.vim:87: return indent + &sw
dtd.vim:103: return indent + &sw
dtd.vim:116: return indent + &sw
dtd.vim:151: return getline(v:lnum) =~ '^\s*>' || count(values(seen), 0) == 0 ? indent : (indent + &sw)
dtd.vim:170: return indent + &sw
dtd.vim:183: return getline(v:lnum) =~ '^\s*>' ? indent : (indent + &sw)
dtd.vim:197: return indent + &sw * 2
dtd.vim:204: return indent + &sw * 3
dtd.vim:219: return indent + &sw * 2
dtd.vim:225: return indent + &sw * 3
dtd.vim:236: return indent + &sw
dtd.vim:240: return indent + &sw
dtd.vim:259: return indent + &sw
dtd.vim:263: return indent + &sw * 2
dtd.vim:269: return indent + &sw * 2
dtd.vim:275: return indent + &sw
dtd.vim:279: return name == "" ? (indent + &sw * 2) : indent
dtd.vim:287: return indent + &sw
dtd.vim:293: return indent + &sw
dtd.vim:297: return indent + &sw * 2
dtd.vim:304: return getline(v:lnum) =~ '^\s*>' ? indent : (indent + &sw * 2)
dylan.vim:48: let chg = &sw
dylan.vim:51: let chg = &sw + 6
dylan.vim:54: let chg = &sw
dylan.vim:78: let chg = &sw
dylan.vim:84: let chg = chg - &sw
eiffel.vim:66: let ind = ind + &sw
eiffel.vim:72: let ind = &sw
eiffel.vim:77: let ind = 2 * &sw
eiffel.vim:82: let ind = ind + &sw
eiffel.vim:94: let ind = ind - &sw
eiffel.vim:99: let ind = ind - &sw
eiffel.vim:104: if getline(v:lnum) =~ '^\s*end\>' && ind == &sw
erlang.vim:672: return [1, a:stored_vcol + &sw + 2]
erlang.vim:681: return [1, a:stored_vcol + &sw]
erlang.vim:800: \stored_vcol, 'end', &sw)
erlang.vim:851: return stored_vcol + &sw
erlang.vim:855: return stored_vcol + &sw
erlang.vim:891: let stored_vcol = curr_vcol + &sw
erlang.vim:900: let stored_vcol = curr_vcol + &sw
erlang.vim:905: let stored_vcol = curr_vcol + 2 * &sw
erlang.vim:910: let stored_vcol = curr_vcol + 2 * &sw + 2
erlang.vim:916: \stored_vcol, 'end', &sw)
erlang.vim:933: let stored_vcol = curr_vcol + &sw
erlang.vim:941: let stored_vcol = curr_vcol + 2 * &sw
erlang.vim:945: let stored_vcol = curr_vcol + 2 * &sw + 2
erlang.vim:949: \stored_vcol, 'end', &sw)
erlang.vim:1223: \stored_vcol, &sw)
erlang.vim:1255: \stored_vcol, &sw)
eruby.vim:60: let ind = ind - &sw
eruby.vim:63: let ind = ind - &sw
eruby.vim:66: let ind = ind + &sw
eruby.vim:68: let ind = ind + &sw
eruby.vim:71: let ind = ind + &sw
eruby.vim:74: let ind = ind - &sw
eruby.vim:77: let ind = ind - &sw
eterm.vim:28: let ind = ind + &sw
eterm.vim:32: let ind = ind - &sw
falcon.vim:342: return indent(s:GetMSL(lnum)) + &sw
falcon.vim:353: return ind + &sw
falcon.vim:359: return nonspace > 0 ? nonspace : ind + &sw
falcon.vim:366: return indent('.') + &sw
falcon.vim:395: let ind = virtcol('.') - 1 + &sw
falcon.vim:425: let ind = msl_ind + &sw
falcon.vim:427: let ind = ind - &sw
falcon.vim:436: let ind = msl_ind + &sw
fortran.vim:86: let ind = ind + &sw
fortran.vim:89: let ind = ind - &sw
fortran.vim:99: let ind = ind + &sw
fortran.vim:102: let ind = ind - &sw
fortran.vim:106: let ind = ind - &sw
fortran.vim:119: let ind = ind + &sw
fortran.vim:124: let ind = ind - &sw
fortran.vim:135: let ind = ind - &sw
fortran.vim:138: let ind = ind + &sw
fortran.vim:144: let ind = ind + &sw
fortran.vim:147: let ind = ind - &sw
fortran.vim:151: let ind = ind - &sw
framescript.vim:33: let ind = ind + &sw
framescript.vim:37: let ind = ind - &sw
gitconfig.vim:27: return 2 * &sw
gitconfig.vim:31: return &sw
gitconfig.vim:33: return &sw
gitolite.vim:30: return &sw
gitolite.vim:32: return &sw
gitolite.vim:34: return &sw
haml.vim:41: let indent = cindent < indent ? cindent : indent - &sw
haml.vim:43: let increase = indent + &sw
hamster.vim:30: let ind = ind + &sw
hamster.vim:36: let ind = ind - &sw
html.vim:290: let s:curind = 0 " relative indent steps for current line [unit &sw]:
html.vim:291: let s:nextrel = 0 " relative indent steps for next line [unit &sw]:
html.vim:302: let s:curind = 0 " relative indent steps for current line [unit &sw]:
html.vim:303: let s:nextrel = 0 " relative indent steps for next line [unit &sw]:
idlang.vim:37: let curind = curind+&sw
idlang.vim:41: let curind = curind-&sw
idlang.vim:48: elseif indent(v:lnum) > curind-&sw
idlang.vim:49: let curind = curind-&sw
idlang.vim:54: if indent(v:lnum) < curind+&sw
idlang.vim:55: let curind = curind+&sw
ishd.vim:53: let ind = ind + &sw
ishd.vim:58: let ind = ind - 2 * &sw
ishd.vim:60: let ind = ind - &sw
ishd.vim:63: let ind = ind - &sw
java.vim:90: let theIndent = theIndent + &sw
java.vim:99: let theIndent = theIndent - (amount + &sw)
java.vim:106: let theIndent = theIndent + &sw
java.vim:112: let theIndent = theIndent - &sw
json.vim:144: " return indent(lnum) + &sw
json.vim:152: return ind + &sw
ld.vim:68: return indent(v:lnum) - &sw
ld.vim:76: let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
ld.vim:80: let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
liquid.vim:57: let ind += &sw * s:count(line,'{%\s*\%(if\|elsif\|else\|unless\|ifchanged\|case\|when\|for\|empty\|tablerow\|capture\)\>')
liquid.vim:58: let ind -= &sw * s:count(line,'{%\s*end\%(if\|unless\|ifchanged\|case\|for\|tablerow\|capture\)\>')
liquid.vim:59: let ind -= &sw * s:count(cline,'{%\s*\%(elsif\|else\|when\|empty\)\>')
liquid.vim:60: let ind -= &sw * s:count(cline,'{%\s*end\w*$')
logtalk.vim:41: let ind = ind + &sw
logtalk.vim:44: let ind = ind + &sw
logtalk.vim:47: let ind = ind - &sw
logtalk.vim:50: let ind = ind - &sw
logtalk.vim:54: let ind = ind + &sw
logtalk.vim:58: let ind = ind - &sw
make.vim:51: return &sw
make.vim:58: return &sw
make.vim:69: return indent(prev_lnum) + &sw
make.vim:105: return &sw
make.vim:111: return v:lnum - 1 == 0 ? 0 : indent(v:lnum - 1) - &sw
matlab.vim:47: elseif indent(v:lnum) > curind - &sw
matlab.vim:49: let curind = curind - &sw
matlab.vim:59: if indent(v:lnum) < curind + &sw
matlab.vim:61: let curind = curind + &sw
mma.vim:52: let ind = ind+&sw
mp.vim:165: let ind = match(pnn_s, '\<\(for\|if\)\>.\+:\s*\($\|%\)') + &sw
mp.vim:172: let ind = ind + &sw
mp.vim:176: let ind = ind + (2 * &sw)
mp.vim:199: let ind = ind - &sw
ocaml.vim:104: return ind + &sw + &sw
ocaml.vim:175: return ind - &sw
ocaml.vim:202: return indent(search('\<\(object\|object\s*(.*)\)\s*$', 'bW')) + &sw
ocaml.vim:209: let ind = ind + &sw
ocaml.vim:266: let ind = ind - &sw
perl.vim:141: let ind = ind + &sw
perl.vim:143: let ind = ind - &sw
perl.vim:155: let ind = ind - &sw
perl.vim:160: let ind = ind + &sw
perl.vim:163: let ind = ind - &sw
perl.vim:170: let ind = ind + &sw
perl.vim:173: let ind = ind - &sw
perl6.vim:110: let ind = ind + &sw
perl6.vim:113: let ind = ind - &sw
perl6.vim:119: let ind = ind + &sw
perl6.vim:122: let ind = ind - &sw
php.vim:56: let b:PHP_default_indenting = PHP_default_indenting * &sw
php.vim:62: let b:PHP_outdentSLComments = PHP_outdentSLComments * &sw
php.vim:317: return indent(1) - &sw * b:PHP_vintage_case_default_indent
php.vim:331: return indent(test) - &sw * b:PHP_vintage_case_default_indent
php.vim:404: let b:PHP_default_indenting = g:PHP_default_indenting * &sw
php.vim:663: return FindTheSwitchIndent(v:lnum) + &sw * b:PHP_vintage_case_default_indent
php.vim:675: let ind = ind + &sw
php.vim:686: let ind = ind + &sw
php.vim:785: let ind = ind + &sw
php.vim:803: let ind = ind + &sw
php.vim:807: let ind = ind + &sw
php.vim:813: let ind = ind - &sw
postscr.vim:44: let ind = ind + &sw
postscr.vim:49: let ind = ind - &sw
postscr.vim:53: let ind = ind - &sw
pov.vim:78: let final = plind + (chg - cur) * &sw
pov.vim:80: let final = plind + chg * &sw
prolog.vim:44: let ind = ind + &sw
prolog.vim:47: let ind = ind - &sw
prolog.vim:51: let ind = ind + &sw
prolog.vim:55: let ind = ind - &sw
r.vim:271: if nline =~ '^\s*function\s*(' && indent(nlnum) == &sw
r.vim:282: return indent(lnum) + &sw
r.vim:290: return indent(lnum) + &sw
r.vim:363: return indent(lnum) + &sw
r.vim:373: return indent(lnum) + &sw
r.vim:380: return indent(lnum) + &sw
r.vim:385: return indent(lnum) - &sw
r.vim:454: let ind += pb * &sw
r.vim:459: let ind += bb * &sw
r.vim:463: if ind == pind || (ind == (pind + &sw) && pline =~ '{$' && ppost_else == 0)
r.vim:483: if ind == (pind + &sw) && pline =~ '{$'
readline.vim:28: let ind = ind + &sw
readline.vim:32: let ind = ind - &sw
rhelp.vim:88: let ind = indent(lnum) + (bb * &sw)
rpl.vim:35: let ind = ind + &sw
rpl.vim:42: let ind = ind - &sw
rpl.vim:44: let ind = ind - &sw
ruby.vim:414: return indent(s:GetMSL(lnum)) + &sw
ruby.vim:419: return indent(lnum) + &sw
ruby.vim:434: return ind + &sw
ruby.vim:440: return nonspace > 0 ? nonspace : ind + &sw
ruby.vim:447: return indent('.') + &sw
ruby.vim:476: let ind = virtcol('.') - 1 + &sw
ruby.vim:509: let ind = msl_ind + &sw
ruby.vim:511: let ind = ind - &sw
ruby.vim:520: let ind = msl_ind + &sw
sass.vim:32: return indent + &sw
sass.vim:34: "return indent - &sw
sdl.vim:49: let ind = ind + &sw
sdl.vim:54: let ind = ind - &sw
sdl.vim:59: let ind = ind - &sw
sml.vim:118: return ind + &sw + &sw
sml.vim:120: return ind + &sw
sml.vim:160: return lastModule + &sw
sml.vim:175: return switchLineIndent + &sw
sml.vim:187: let ind = ind + &sw
sml.vim:202: let ind = ind + &sw
sml.vim:209: let ind = ind - &sw
systemverilog.vim:32: let offset = &sw
sqlanywhere.vim:150: " return a:prev_indent - &sw
sqlanywhere.vim:169: let ind = indent(a:curr_lnum) - &sw
sqlanywhere.vim:294: let ind = ind + &sw
sqlanywhere.vim:311: let ind = ind + ( &sw * num_unmatched_left )
sqlanywhere.vim:326: let ind = ind - ( &sw * (num_unmatched_right - ignore) )
sqlanywhere.vim:342: let ind = ind - &sw
sqlanywhere.vim:347: " let ind = ind - &sw
sqlanywhere.vim:355: " let ind = ind - &sw
sqlanywhere.vim:374: " let ind = ind - &sw
sqlanywhere.vim:381: let ind = ind - ( &sw * (num_unmatched_right - ignore) )
tcl.vim:59: return indent(v:lnum) - &sw
tcl.vim:67: let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
tcl.vim:71: let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
tcsh.vim:35: let ind = ind + &sw
tcsh.vim:39: let ind = ind - &sw
tcsh.vim:45: let ind = ind - &sw
tex.vim:218: let ind = ind + &sw
tex.vim:223: let ind = ind + &sw
tex.vim:234: let ind = ind - &sw
tex.vim:238: let ind = ind - &sw
tex.vim:266: let ind += (sum1 - sum2) * &sw
tex.vim:279: let ind = ind - &sw
tex.vim:284: let ind = ind + &sw
tf.vim:41: let ind = ind + &sw
tf.vim:44: let ind = ind + &sw
tf.vim:48: let ind = ind + &sw
tf.vim:56: let ind = ind - &sw
tf.vim:60: let ind = ind - &sw
tilde.vim:28: return indent(v:lnum) - &sw
tilde.vim:32: return indent(plnum) + &sw
treetop.vim:29: let ind += &sw
treetop.vim:34: let ind -= &sw
vb.vim:52: let ind = ind + &sw
vb.vim:58: let ind = ind - 2 * &sw
vb.vim:65: let ind = ind - &sw
vb.vim:68: let ind = ind - &sw
vb.vim:71: let ind = ind - &sw
verilog.vim:41: let offset = &sw
vhdl.vim:117: return ind2 + stridx(prevs_noi, '(') + &sw
vhdl.vim:119: return ind2 + &sw
vhdl.vim:131: return ind2 + &sw
vhdl.vim:221: return indent(pn) - &sw
vhdl.vim:226: return ind - &sw
vhdl.vim:240: let ind = ind + &sw
vhdl.vim:285: return ind + &sw
vhdl.vim:293: return ind + &sw
vhdl.vim:301: return ind + &sw
vhdl.vim:313: let ind = ind + &sw
vhdl.vim:325: return ind - &sw
vhdl.vim:339: return ind - &sw
vhdl.vim:370: return indent(pn) - 2 * &sw
vhdl.vim:372: return indent(pn) - &sw
vhdl.vim:388: return ind - &sw
vhdl.vim:395: return ind - &sw
vhdl.vim:410: return ind - &sw
vim.vim:61: let ind = ind + &sw * 3
vim.vim:64: let ind = ind + &sw
vim.vim:70: let ind += &sw
vim.vim:73: let ind -= &sw
vim.vim:85: let ind = ind - &sw
vim.vim:93: let ind = ind - &sw
xf86conf.vim:29: let ind = ind + &sw
xf86conf.vim:33: let ind = ind - &sw
xinetd.vim:50: return indent(pnum) + s:count_braces(pnum, 1) * &sw
xinetd.vim:51: \ - s:count_braces(v:lnum, 0) * &sw
xml.vim:70: return (&sw *
zimbu.vim:77: return indent(prevLnum) + &sw
zimbu.vim:79: return indent(prevLnum) + &sw * 2
zimbu.vim:105: let plindent += &sw
zimbu.vim:108: let plindent -= &sw
zimbu.vim:111: let plindent -= &sw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment