make plugins use "-i '$html'" by default
This commit is contained in:
@ -23,7 +23,7 @@ function! CWheel()
|
|||||||
let force_flag = ' -x '
|
let force_flag = ' -x '
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let command = 'cwheel ' . force_flag . ' -o ' . shellescape(output_file) . ' ' . shellescape(current_file)
|
let command = 'cwheel -i ' . shellescape('$html') . ' ' . force_flag . ' -o ' . shellescape(output_file) . ' ' . shellescape(current_file)
|
||||||
let output = system(command, v:true)
|
let output = system(command, v:true)
|
||||||
|
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
|
@ -43,7 +43,7 @@ function cycle() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function executeCWheel() {
|
function executeCWheel() {
|
||||||
const cwheelCommand = `cwheel ${forceFlag} -o ${outputFileName} ${currentFile}`;
|
const cwheelCommand = `cwheel -i '$html' ${forceFlag} -o ${outputFileName} ${currentFile}`;
|
||||||
|
|
||||||
exec(cwheelCommand, (error, stdout, stderr) => {
|
exec(cwheelCommand, (error, stdout, stderr) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
|
Reference in New Issue
Block a user