File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ endfunction
134134" Change working directory to project root or [dir], respecting current
135135" window's local dir state. Returns old working directory to be restored later
136136" by a second invocation of the function.
137- function ! s: project_cd (... ) abort
137+ function ! s: project_cd (... ) dict abort
138138 let dir = get (a: 000 , 0 , self .path ())
139139 let cd = exists (' *haslocaldir' ) && haslocaldir () ? ' lcd' : ' cd'
140140 let cwd = getcwd ()
@@ -219,10 +219,10 @@ endfunction
219219" Get output from Composer with {args} in project's root directory.
220220function ! s: project_exec (args ) dict abort
221221 try
222- let cwd = s: cd (self .path ())
222+ let cwd = self . cd (self .path ())
223223 let result = system (join ([self .makeprg ()] + a: args ))
224224 finally
225- call s: cd (cwd)
225+ call self . cd (cwd)
226226 endtry
227227
228228 return result
You can’t perform that action at this time.
0 commit comments