make plugins use "-i '$html'" by default

This commit is contained in:
anon
2023-11-15 18:13:32 +01:00
parent 536aa01c46
commit 62841cbf24
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ function! CWheel()
let force_flag = ' -x '
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)
if v:shell_error

View File

@ -43,7 +43,7 @@ function cycle() {
}
function executeCWheel() {
const cwheelCommand = `cwheel ${forceFlag} -o ${outputFileName} ${currentFile}`;
const cwheelCommand = `cwheel -i '$html' ${forceFlag} -o ${outputFileName} ${currentFile}`;
exec(cwheelCommand, (error, stdout, stderr) => {
if (error) {