Skip to content

Commit 32b9fa0

Browse files
authored
Merge pull request #45 from 3to8-decoder/master
fix: allow g:flutter_command to have spaces so stuff like g:flutter_c…
2 parents 2292de5 + b003d6a commit 32b9fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/flutter.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function! flutter#run_or_attach(type, show, use_last_option, args) abort
141141
if has("win32") || has("win64")
142142
let cmd += [&shell, &shellcmdflag]
143143
endif
144-
let cmd += [g:flutter_command, a:type]
144+
let cmd += split(g:flutter_command) + [a:type]
145145
if !empty(a:args)
146146
let cmd += a:args
147147
if a:use_last_option

0 commit comments

Comments
 (0)