Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/vim-8.2.3635/runtime/indent/
H A Dcucumber.vim30 let sw = exists('*shiftwidth') ? shiftwidth() : shiftwidth()
39 return 2 * sw
42 return sw
45 return sw
48 return 3 * sw
51 return 2 * sw
57 return sw
64 return indent(prevnonblank(v:lnum-1)) + sw
67 return indent(prevnonblank(v:lnum-1)) - sw
70 return sw
[all …]
H A Deruby.vim52 let sw = shiftwidth()
54 let sw = &sw
85 let ind = ind - sw
88 let ind = ind - sw
91 let ind = ind + sw
93 let ind = ind + sw
96 let ind = ind + sw
100 let ind = ind - sw
103 let ind = ind - sw
111 " vim:set sw=2 sts=2 ts=8 noet:
H A Druby.vim179 let indent_info.sw = shiftwidth()
181 let indent_info.sw = &sw
460 return indent(info.plnum) + info.sw
496 return ind + info.sw + info.sw
541 return indent(info.plnum) + info.sw
576 return indent('.') + info.sw
615 let ind = virtcol('.') - 1 + info.sw
624 let ind = col + info.sw - 1
663 let ind = ind - info.sw
667 let ind = col + info.sw - 1
[all …]
H A Dliquid.vim57 let sw = shiftwidth()
58 …let ind += sw * s:count(line,'{%\s*\%(if\|elsif\|else\|unless\|ifchanged\|case\|when\|for\|empty\|…
59 let ind -= sw * s:count(line,'{%\s*end\%(if\|unless\|ifchanged\|case\|for\|tablerow\|capture\)\>')
60 let ind -= sw * s:count(cline,'{%\s*\%(elsif\|else\|when\|empty\)\>')
61 let ind -= sw * s:count(cline,'{%\s*end\w*$')
H A Dgitconfig.vim23 let sw = shiftwidth()
28 return 2 * sw
32 return sw
34 return sw
H A Dvhdl.vim232 " indent: +sw if previous line is previous opening statement
280 " indent: +sw
288 " indent: +sw
296 " indent: +sw
304 " indent: +sw
317 " indent: -sw
331 " indent: -sw
359 "indent: -2sw
362 "indent: -sw
391 " indent: -sw
[all …]
H A Draku.vim105 let ind = ind + &sw
108 let ind = ind - &sw
114 let ind = ind + &sw
117 let ind = ind - &sw
127 " vim:ts=8:sts=4:sw=4:expandtab:ft=vim
H A Dhaml.vim40 let sw = shiftwidth()
42 let indent = cindent < indent ? cindent : indent - sw
44 let increase = indent + sw
74 " vim:set sw=2:
H A Djavascript.vim51 function s:sw()
55 function s:sw()
97 return n . s:sw() + 0
99 let n = str2nr(n) * s:sw()
301 let pind = b:js_cache[1] ? indent(b:js_cache[1]) + s:sw() : 0
423 let l:switch_offset = &cino !~ ':' ? s:sw() : s:ParseCino(':')
437 let is_op = s:sw()
444 return num_ind + s:sw()
446 let is_op = s:sw()
449 let b_l = s:Nat(s:IsContOne(is_op) - (!is_op && l:line =~ '^{')) * s:sw()
[all …]
H A Dsshconfig.vim22 let sw = shiftwidth()
30 return sw
H A Dsass.vim11 setlocal autoindent sw=2 et
38 " vim:set sw=2:
/vim-8.2.3635/src/testdir/
H A Dtest_tab.vim7 set smarttab expandtab ts=8 sw=4
36 set expandtab smartindent copyindent ts=8 sw=8 sts=8
45 set expandtab& smartindent& copyindent& ts& sw& sts&
50 set sts=0 sw=0
60 set sts=-1 sw=4
65 set sts=0 sw=0 backspace=start
75 set sts=-1 sw=4
80 set sts=-1 sw=0 smarttab
88 set sts=0 sw=0 backspace& nosmarttab
H A Dtest_cindent.vim131 setl cindent ts=4 sw=4
2066 setl cindent ts=4 sw=4
2168 setl cindent ts=4 sw=4
2198 setl cindent ts=4 sw=4
2248 setl cindent ts=4 sw=4
2311 setl cindent ts=4 sw=4
2352 setl cindent ts=4 sw=4
2400 setl cindent ts=4 sw=4
2443 setl cindent ts=4 sw=4
2485 setl cindent ts=4 sw=4
[all …]
H A Dtest_indent.vim22 set pi& sw&
30 set sw& et& pi&
65 set sw=4
97 set sw& ai& et& ci&
164 setl et sw=2 sts=2 ts=2 tw=50 indentexpr=GetTeXIndent()
H A Dtest_modeline.vim157 call writefile(['// vim: set showbreak=\: ts=2: sw=2'], 'Xmodeline_colon')
164 " 'sw' should be ignored because it is after the end colon.
166 call assert_equal(8, &sw)
365 call writefile(['vim: sw=2', 'vim: nomodeline', 'vim: sw=3'], 'Xmodeline_disable')
367 call assert_equal(2, &sw)
/vim-8.2.3635/runtime/lang/
H A Dmenu_it_it.latin1.vim123 "menut &Shiftwidth.2<Tab>:set\ sw=2\ sw?<CR> &Spazi\ rientranza.2<Tab>:set\ sw=2\ sw?<CR>
124 "menut &Shiftwidth.3<Tab>:set\ sw=3\ sw?<CR> &Spazi\ rientranza.3<Tab>:set\ sw=3\ sw?<CR>
125 "menut &Shiftwidth.4<Tab>:set\ sw=4\ sw?<CR> &Spazi\ rientranza.4<Tab>:set\ sw=4\ sw?<CR>
126 "menut &Shiftwidth.5<Tab>:set\ sw=5\ sw?<CR> &Spazi\ rientranza.5<Tab>:set\ sw=5\ sw?<CR>
127 "menut &Shiftwidth.6<Tab>:set\ sw=6\ sw?<CR> &Spazi\ rientranza.6<Tab>:set\ sw=6\ sw?<CR>
128 "menut &Shiftwidth.8<Tab>:set\ sw=8\ sw?<CR> &Spazi\ rientranza.8<Tab>:set\ sw=8\ sw?<CR>
391 " vim: set sw=2 :
H A Dmenu_da.utf-8.vim121 " menut &Shiftwidth.2<Tab>:set\ sw=2\ sw?<CR> Shiftwidth.2<Tab>:set\ sw=2\ sw?<CR>
122 " menut &Shiftwidth.3<Tab>:set\ sw=3\ sw?<CR> Shiftwidth.3<Tab>:set\ sw=3\ sw?<CR>
123 " menut &Shiftwidth.4<Tab>:set\ sw=4\ sw?<CR> Shiftwidth.4<Tab>:set\ sw=4\ sw?<CR>
124 " menut &Shiftwidth.5<Tab>:set\ sw=5\ sw?<CR> Shiftwidth.5<Tab>:set\ sw=5\ sw?<CR>
125 " menut &Shiftwidth.6<Tab>:set\ sw=6\ sw?<CR> Shiftwidth.6<Tab>:set\ sw=6\ sw?<CR>
126 " menut &Shiftwidth.8<Tab>:set\ sw=8\ sw?<CR> Shiftwidth.8<Tab>:set\ sw=8\ sw?<CR>
463 " vim: set sw=2 :
/vim-8.2.3635/runtime/pack/dist/opt/justify/plugin/
H A Djustify.vim59 " negative 'sw' or 'ts' value.
117 " :'<,'>call Justify(72,'','2sw')
118 " :'<,'>Justify 72 -1 2sw
184 " Set the indentation style (accept sw and ts units)
189 elseif a:3 =~ '^-\=0\(shiftwidth\|sw\|tabstop\|ts\)\=$'
191 elseif a:3 =~ '^\d\+\(shiftwidth\|sw\|tabstop\|ts\)\=$'
193 elseif a:3 =~ '^\(shiftwidth\|sw\|tabstop\|ts\)$'
196 call Justify_error("indent: a number with 'sw'/'ts' unit")
205 if a:3 =~ '\(shiftwidth\|sw\)'
206 let indent_sw = &sw
[all …]
/vim-8.2.3635/runtime/spell/sw/
H A Dmain.aap12 all: $SPELLDIR/sw.latin1.spl $SPELLDIR/sw.utf-8.spl ../README_sw.txt
15 $SPELLDIR/sw.latin1.spl : $FILES
17 $VIM -u NONE -e -c "mkspell! $SPELLDIR/sw sw_KE" -c q
19 $SPELLDIR/sw.utf-8.spl : $FILES
21 $VIM -u NONE -e -c "mkspell! $SPELLDIR/sw sw_KE" -c q
79 # vim: set sts=4 sw=4 :
/vim-8.2.3635/runtime/ftplugin/
H A Dcobol.vim118 let sw = shiftwidth()
121 return sw - (i - 11) % sw
133 let sw = shiftwidth()
135 if i >= 11 + sw
136 return 1 + (i + 12) % sw
152 let sw = shiftwidth()
159 let tail = s:repeat(" ",shift*sw).tail
162 if (indent-4) > -shift * sw
163 let tail = strpart(tail,-shift * sw)
164 elseif (indent-4) > (-shift-1) * sw
H A Dlogtalk.vim11 let b:undo_ftplugin = "setl ts< sw< fdm< fdc< ai< dict<"
14 setlocal sw=4
H A D8th.vim21 setlocal ts=2 sts=2 sw=2 et
27 let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<"
H A Dgprof.vim18 call search('^' . escape(@", '[]'), 'sw')
36 " vim:sw=2 fdm=indent
/vim-8.2.3635/src/
H A Dcindent.c1723 buf->b_ind_level = sw; in parse_cino()
1754 buf->b_ind_case = sw; in parse_cino()
1757 buf->b_ind_case_code = sw; in parse_cino()
1764 buf->b_ind_scopedecl = sw; in parse_cino()
1770 buf->b_ind_param = sw; in parse_cino()
1773 buf->b_ind_func_type = sw; in parse_cino()
1777 buf->b_ind_cpp_baseclass = sw; in parse_cino()
1781 buf->b_ind_continuation = sw; in parse_cino()
1784 buf->b_ind_unclosed = sw * 2; in parse_cino()
1788 buf->b_ind_unclosed2 = sw; in parse_cino()
[all …]
H A Dgui_at_sb.c244 int sw, margin, floor; in FillArea() local
249 sw = sbw->scrollbar.shadow_width; in FillArea()
250 if (sw < 0) in FillArea()
251 sw = 0; in FillArea()
258 ly = sw; in FillArea()
260 lh = sbw->core.height - 2 * sw; in FillArea()
264 lx = sw; in FillArea()
266 lw = sbw->core.width - 2 * sw; in FillArea()

12345678910>>...20