2nd attempt to solve issue #4 more nicely
This commit is contained in:
parent
3058e526ba
commit
0a1f41399d
@ -30,6 +30,10 @@ function! g:FindFormatter(name, args)
|
||||
|
||||
if executable(s:prgpath)
|
||||
let &formatprg=s:prgpath." ".a:args
|
||||
let w:formatprg=&formatprg
|
||||
let t:formatprg=&formatprg
|
||||
let b:formatprg=&formatprg
|
||||
endif
|
||||
endfunction
|
||||
|
||||
"TODO: Now when buffer/window/tab changes, reload formatprg from the vars
|
||||
|
Loading…
x
Reference in New Issue
Block a user