We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a64570 commit f18abc4Copy full SHA for f18abc4
autoload/dispatch.vim
@@ -282,7 +282,7 @@ function! dispatch#compiler_for_program(args) abort
282
return plugin
283
endif
284
endfor
285
- let program = fnamemodify(matchstr(args, '\S\+'), ':t:r')
+ let program = fnamemodify(matchstr(args, '\S\+'), ':t')
286
if program ==# 'make'
287
return 'make'
288
@@ -300,7 +300,7 @@ function! dispatch#compiler_for_program(args) abort
300
301
for [plugin, lines] in plugins
302
for line in lines
303
- if matchstr(line, '\<CompilerSet\s\+makeprg=\zs[[:alnum:]_-]\+') ==# program
+ if matchstr(line, '\<CompilerSet\s\+makeprg=\zs[[:alnum:]_.-]\+') ==# program
304
305
306
0 commit comments