Skip to content

Commit 8a699a2

Browse files
authored
Merge pull request #180 from itchyny/disable-vimrc-viminfo
Disable default vimrc and viminfo in compile scripts
2 parents 71bf32f + 3e8ed5a commit 8a699a2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

scripts/jscompile.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
vim -E -s -N --cmd "set rtp+=." -c "exe 'so' argv()[0]" -c q -- js/jscompiler.vim %*
2+
vim -u NONE -i NONE -E -s -N --cmd "set rtp+=." -c "exe 'so' argv()[0]" -c q -- js/jscompiler.vim %*

scripts/jscompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
vim -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*
2+
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- js/jscompiler.vim $*

scripts/pycompile.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
vim -E -s -N --cmd "set rtp+=." -c "exe 'so' argv()[0]" -c q -- py/pycompiler.vim %*
2+
vim -u NONE -i NONE -E -s -N --cmd "set rtp+=." -c "exe 'so' argv()[0]" -c q -- py/pycompiler.vim %*

scripts/pycompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
vim -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*
2+
vim -u NONE -i NONE -E -s -N --cmd 'set rtp+=.' -c 'exe "so" argv()[0]' -c q -- py/pycompiler.vim $*

0 commit comments

Comments
 (0)