Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/vim-8.2.3635/runtime/indent/
H A Ddtd.vim1 " Vim indent file
85 let indent = indent('.')
98 return indent
127 return indent
151 return indent
160 return indent
186 return getline(v:lnum) =~ '^\s*>' ? indent : (indent + shiftwidth())
188 return indent
282 return name == "" ? (indent + shiftwidth() * 2) : indent
284 return indent
[all …]
H A Dvhdl.vim1 " VHDL indent ('93 syntax)
59 " default indent starts as previous non-comment line's indent
246 " indent: 0
253 " indent: maintain indent of previous opening statement
262 " indent: maintain indent of previous opening statement
271 " indent: maintain indent of previous opening statement
280 " indent: +sw
288 " indent: +sw
296 " indent: +sw
398 " indent: 0
[all …]
H A Druby.vim1 " Vim indent file
207 if indent >= 0
209 return indent
227 if indent >= 0
229 return indent
253 if indent >= 0
255 return indent
275 if indent >= 0
411 " indent to 0.
529 " of indent
[all …]
H A Dhaml.vim1 " Vim indent file
9 runtime! indent/ruby.vim
38 let indent = indent(lnum)
39 let cindent = indent(v:lnum)
42 let indent = cindent < indent ? cindent : indent - sw
44 let increase = indent + sw
45 if indent == indent(lnum)
46 let indent = cindent <= indent ? -1 : increase
52 return indent
64 return indent
[all …]
H A Dsqlanywhere.vim1 " Vim indent file
162 " Return its indent level
165 " Should return indent level of CASE
174 " Default - reduce indent by 1
253 let ind = indent(lnum)
275 " the indent to use
292 let ind = indent(prevlnum)
299 " Move indent in
316 " increase indent
322 " maintain the indent level
[all …]
H A Dxml.vim76 " don't indent pure non-xml code
103 " Main indent function
122 let pind = indent(ptag)
131 return indent(a:lnum)
156 " Get indent from previous tag line
158 " Determine indent from current line
178 " return indent for a commented line,
185 " one additional level of indent
188 " declared, we should indent with its indent level.
190 return indent(ptagclose)
[all …]
H A Dbzl.vim1 " Vim indent file
10 " Load base python indent.
12 runtime! indent/python.vim
17 " Only enable bzl google indent if python google indent is enabled.
37 " Backup and override indent setting variables.
48 let l:indent = -1
65 let l:indent = indent(l:par_line)
77 let l:indent = l:par_col
83 if l:indent == -1
84 let l:indent = GetPythonIndent(a:lnum)
[all …]
H A Dmma.vim1 " Vim indent file
7 " http://members.wolfram.com/layland/vim/indent/mma.vim
19 " Only load this indent file when no other was loaded.
35 " Hit the start of the file, use zero indent.
44 let ind = indent(v:lnum)
47 " if previous line has an unmatched bracket, or ( indent.
57 " indent to the matching opening block
61 " and find its partner's indent
62 let ind = indent(searchpair('\[','',']','bWn'))
66 let ind = indent(searchpair('(','',')','bWn'))
[all …]
H A Dyaml.vim1 " Vim indent file
7 " Only load this indent file when no other was loaded.
30 let curindent = a:0 ? a:1 : indent(a:lnum)
32 \&& indent(prevlnum) >= curindent
80 let previndent = indent(prevlnum)
84 " Comment blocks should have identical indent
91 " Ignore comment lines when calculating indent
100 let previndent = indent(prevlnum)
119 "#^^ indent+2, not indent+shiftwidth
137 return indent(prevmapline) + 2
[all …]
H A Dada.vim2 " Description: Vim Ada indent file
19 " Help Page: ft-vim-indent
53 " Try to find indent of the block we're in
54 " prev_indent = the previous line's indent
70 let ind = indent(lnum)
107 let ind = indent(lnum)
166 let ind = indent(prev_lnum)
184 let ind = indent(lnum)
200 let ind = indent(lnum)
214 " Move indent in
[all …]
H A Drmd.vim1 " Vim indent file
12 runtime indent/r.vim
34 return indent(plnum) + &shiftwidth
36 return indent(plnum) - &shiftwidth
38 return indent(plnum)
45 return indent(v:lnum)
47 return indent(v:lnum - 1) + 2
49 return indent(v:lnum - 1) + 3
58 return indent(plnum) + shiftwidth()
60 return indent(v:lnum) + 2
[all …]
H A Dhtml.vim1 " Vim indent script for HTML
30 " Load base python indent.
416 " indent for the block type, so that when we do not know the indent we do
647 " add indent after {
811 return indent(lnum)
830 return indent(prevlnum)
841 return indent(lnum)
993 if indent >= 0
996 return indent
1053 let indent = indent(start_lnum)
[all …]
H A Docaml.vim1 " Vim indent file
15 " Only load this indent file when no other was loaded.
67 let old = indent(a:lnum)
69 let old = indent(llet)
95 " At the start of the file use zero indent.
100 let ind = indent(lnum)
212 " Back to normal indent after lines ending with ';;':
220 " Back to normal indent after lines ending with 'in':
236 " Back to normal indent after comments:
241 " Back to normal indent after lines ending with ')':
[all …]
H A Dpython.vim1 " Vim indent file
7 " Only load this indent file when no other was loaded.
44 return indent(a:lnum - 1)
70 let plindent = indent(plnum)
88 let plindent = indent(parlnum)
91 let plindent = indent(plnum)
120 return indent(plnum)
168 if s:Dedented(a:lnum, indent(plnum))
173 return indent(plnum) - shiftwidth()
181 let ind = indent(lnum)
[all …]
H A Dfalcon.vim1 " Vim indent file
65 " Keywords to indent on
310 let ind = indent(line('.'))
312 let ind = indent(msl)
320 return indent('.')
338 let ind = indent(lnum)
368 return indent('.')
376 " indent.
383 let ind = indent('.')
386 let ind = indent(msl)
[all …]
H A Dverilog.vim19 " Only load this indent file when no other was loaded.
55 " At the start of the file use zero indent.
64 let ind = indent(lnum)
65 let ind2 = indent(lnum - 1)
131 " De-indent for the end of one-line block
176 " Re-indent current line
178 " De-indent on the end of the block
188 echo vverb_str "De-indent the end of a module."
191 " De-indent on a stand-alone 'begin'
205 " De-indent after the end of multiple-line statement
[all …]
H A Dsystemverilog.vim1 " Vim indent file
6 " Only load this indent file when no other was loaded.
43 " At the start of the file use zero indent.
52 let ind = indent(lnum)
53 let ind2 = indent(lnum - 1)
129 " De-indent for the end of one-line block
173 " Re-indent current line
175 " De-indent on the end of the block
187 echo vverb_str "De-indent the end of a module."
190 " De-indent on a stand-alone 'begin'
[all …]
H A Dtypescript.vim1 " Vim indent file
198 return indent(lvar) + shiftwidth()
247 let msl_ind = indent(lnum)
321 " get previous line indent, if it's comma first return prevline indent
323 return indent(prevline)
324 " otherwise we indent 1 level
350 return indent(prevline)
374 return indent(prevline) - 1
382 return indent(prevnonblank(v:lnum))
392 let ind = indent(lnum)
[all …]
H A Ddylan.vim1 " Vim indent file
8 " Only load this indent file when no other was loaded.
16 " Define the appropriate indent function but only once
33 "Use zero indent at the top of the file
39 let ind = indent(lnum)
42 " If previous line was a comment, use its indent
47 " If previous line was a 'define', indent
50 " local methods indent the shift-width, plus 6 for the 'local'
53 " If previous line was a let with no closing semicolon, indent
74 let ind = indent(curr_line)
[all …]
H A Dconfig.vim1 " Vim indent file
9 " Only load this indent file when no other was loaded.
14 runtime! indent/sh.vim " will set b:did_indent
27 " get the offset (indent) of the end of the match of 'regexp' in 'line'
47 " Hit the start of the file, use zero indent.
57 " indent to its position. TODO: not failsafe if multiple ('s
63 " indent to its position. TODO: same as above
69 " indent to the matching opening parentheses
73 let ind = indent(lnum)
77 " indent to the matching opening bracket
[all …]
H A Dmeson.vim1 " Vim indent file
10 " Only load this indent file when no other was loaded.
43 return indent(a:lnum - 1)
48 " If the start of the line is in a string don't change the indent.
58 " This is the first non-empty line, use zero indent.
72 let plindent = indent(parlnum)
75 let plindent = indent(plnum)
103 return indent(plnum)
143 " Maintain indent
147 " If the previous line ended with a builtin, indent this line
[all …]
/vim-8.2.3635/.github/
H A DCODEOWNERS126 runtime/indent/bst.vim @tpope
127 runtime/indent/cdl.vim @dkearns
128 runtime/indent/clojure.vim @axvr
132 runtime/indent/d.vim @dkearns
136 runtime/indent/elm.vim @andys8
141 runtime/indent/haml.vim @tpope
143 runtime/indent/ld.vim @dkearns
148 runtime/indent/nginx.vim @chr4
153 runtime/indent/ps1.vim @heaths
156 runtime/indent/sass.vim @tpope
[all …]
/vim-8.2.3635/runtime/autoload/
H A Dpython3complete.vim263 self.indent = indent
285 def copy_decl(self,indent=0):
310 def pop(self,indent):
311 #print('pop scope: [%s] to [%s]' % (self.indent,indent))
313 while outer.parent != None and outer.indent >= indent:
318 #print('parse current indent: %s' % self.indent)
319 return ' '*self.indent
322 #print('parse child indent: [%s]' % (self.indent+1))
329 def copy_decl(self,indent=0):
350 def copy_decl(self,indent=0):
[all …]
H A Dpythoncomplete.vim281 self.indent = indent
303 def copy_decl(self,indent=0):
328 def pop(self,indent):
329 #print 'pop scope: [%s] to [%s]' % (self.indent,indent)
331 while outer.parent != None and outer.indent >= indent:
336 #print 'parse current indent: %s' % self.indent
337 return ' '*self.indent
340 #print 'parse child indent: [%s]' % (self.indent+1)
347 def copy_decl(self,indent=0):
368 def copy_decl(self,indent=0):
[all …]
/vim-8.2.3635/runtime/doc/
H A Dindent.txt128 have changed the indent by typing <BS>, <Tab>, or <Space> in the indent or
134 N indent N spaces
606 CLOJURE *ft-clojure-indent* *clojure-indent*
766 HTML *ft-html-indent* *html-indent* *html-indenting*
777 "zero" zero indent
778 "auto" auto indent (same indent as the blocktag)
779 "inc" auto indent + one indent step
810 MATLAB *ft-matlab-indent* *matlab-indent* *matlab-indenting*
820 PHP *ft-php-indent* *php-indent* *php-indenting*
920 By default the indent script will indent multi-line chained calls by matching
[all …]

12345678910>>...15