Lines Matching refs:path
84 function! context#callback(path, job, status) argument
88 call s:callback(a:path, a:job, a:status)
95 function! s:typeset(path) argument
97 … \ job_start(add(s:sh(), context#command() . ' ' . shellescape(fnamemodify(a:path, ":t"))), {
100 \ [a:path]),
115 function! context#callback(path, job, status) argument
116 call s:callback(a:path, a:job, a:status)
119 function! s:typeset(path) argument
120 execute '!' . context#command() . ' ' . shellescape(fnamemodify(a:path, ":t"))
122 \ [a:path, 0, v:shell_error])
127 function! s:callback(path, job, status) abort argument
138 execute 'lcd' fnameescape(fnamemodify(a:path, ':h'))
144 execute 'cgetfile' fnameescape(fnamemodify(a:path, ':r') . '.log')
165 " Accepts an optional path (useful for big projects, when the file you are
167 " the path of the current buffer.
169 let l:path = fnamemodify(strlen(a:000[0]) > 0 ? a:1 : expand("%"), ":p")
172 execute 'lcd' fnameescape(fnamemodify(l:path, ":h"))
174 call s:typeset(l:path)