• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/vim-55/runtime/ftplugin/

Lines Matching refs:let

13 let b:did_ftplugin = 1
15 let s:cpo_save = &cpo
26 let s:ordot = '\|\ze\.\%( \@=\|$\)'
27 let b:match_ignorecase=1
28 "let b:match_skip = 'getline(".") =~ "^.\\{6\\}[*/C]"'
29 let b:match_words=
40 let b:browsefilter = "COBOL Source Files (*.cbl, *.cob)\t*.cbl;*.cob;*.lib\n".
44 let b:undo_ftplugin = "setlocal com< cms< fo< et< tw<" .
47 let b:undo_ftplugin = b:undo_ftplugin .
96 let &cpo = s:cpo_save
102 let g:did_cobol_ftplugin_functions = 1
105 let i = 0
106 let ret = ""
108 let ret = ret . a:str
109 let i = i + 1
115 let lnum = '.'
116 let sw = &shiftwidth
117 let i = a:0 ? a:1 : indent(lnum)
130 let lnum = '.'
131 let sw = &shiftwidth
132 let i = indent(a:0 ? a:1 : lnum)
147 let head = strpart(getline('.'),0,7)
148 let tail = strpart(getline('.'),7)
149 let indent = match(tail,'[^ ]')
150 let sw = &shiftwidth
151 let shift = a:shift
154 let tail = s:repeat(" ",4-indent).tail
155 let shift = shift - 1
157 let tail = s:repeat(" ",shift*sw).tail
158 let shift = 0
161 let tail = strpart(tail,-shift * sw)
163 let tail = strpart(tail,indent - 4)
165 let tail = strpart(tail,indent)
180 let c = "\<C-T>"
182 let key = InsertCtrlTWrapper()
187 let interval = s:increase()
188 let b:cobol_shiftwidth = &shiftwidth
189 let &shiftwidth = 1
190 let lastchar = strpart(getline('.'),col('.')-2,1)
199 let c = "\<C-D>"
202 let key = InsertCtrlDWrapper()
207 let interval = s:decrease()
208 let b:cobol_shiftwidth = &shiftwidth
209 let &shiftwidth = 1
215 let &shiftwidth=b:cobol_shiftwidth
233 let line = getline('.')
235 let line = substitute(line,'^.\{6\}\zs.',' ','')
237 let line = substitute(line,'^.\{6\}\zs.','*','')
243 let ignore = '^\(\s*\|.\{6\}\)\%([*/]\|\s*$\)'
244 let keep = line('.')
249 let res = search('\c^\%(\s*\|.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\|section\)\s*\.',a:direction.'W')
251 let res = line('$')