Lines Matching refs:l
40 let idx = index(l:args, '--')
42 let rustc_args = idx == 0 ? [] : l:args[:idx-1]
43 let args = l:args[idx+1:]
45 let rustc_args = l:args
52 let b:rust_last_rustc_args = l:rustc_args
53 let b:rust_last_args = l:args
85 if a:bang && !empty(l:args)
86 let pretty = remove(l:args, 0)
103 let args = [relpath, '-Z', 'unstable-options', l:flag, a:pretty] + a:args
187 if exists('l:extension')
285 let l:state = 0
286 let l:current = ''
287 let l:args = []
289 if l:state == 0 || l:state == 1 " unquoted
290 if l:c ==# ' '
291 if l:state == 0 | continue | endif
292 call add(l:args, l:current)
293 let l:current = ''
294 let l:state = 0
295 elseif l:c ==# '\'
296 let l:state = 2
297 elseif l:c ==# '"'
298 let l:state = 3
299 elseif l:c ==# "'"
300 let l:state = 5
302 let l:current .= l:c
303 let l:state = 1
305 elseif l:state == 2 " unquoted backslash
306 if l:c !=# "\n" " can it even be \n?
307 let l:current .= l:c
309 let l:state = 1
310 elseif l:state == 3 " double-quote
311 if l:c ==# '\'
312 let l:state = 4
313 elseif l:c ==# '"'
314 let l:state = 1
316 let l:current .= l:c
318 elseif l:state == 4 " double-quoted backslash
319 if stridx('$`"\', l:c) >= 0
320 let l:current .= l:c
321 elseif l:c ==# "\n" " is this even possible?
324 let l:current .= '\'.l:c
326 let l:state = 3
327 elseif l:state == 5 " single-quoted
328 if l:c == "'"
329 let l:state = 1
331 let l:current .= l:c
335 if l:state != 0
336 call add(l:args, l:current)
338 return l:args
380 let l:rust_playpen_url = get(g:, 'rust_playpen_url', 'https://play.rust-lang.org/')
381 let l:rust_shortener_url = get(g:, 'rust_shortener_url', 'https://is.gd/')
399 let body = l:rust_playpen_url."?code=".webapi#http#encodeURI(content)
407 let res = webapi#http#post(l:rust_shortener_url.'create.php', payload, {})