Last active
September 23, 2020 14:19
-
-
Save enukane/4a2124d2b4888983f339e18ddcbe3293 to your computer and use it in GitHub Desktop.
脱Ruby矯正ギプス: ~/.vim/ftplugin/に放り込む
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let counter = 1 | |
let dialog_list = [ "Are you really trying to edit ruby file?", "DO you really want to edit ruby file?", "ARE YOU REALLY SURE about editing ruby file?"] | |
for dialog_text in dialog_list | |
let select = confirm(dialog_text, "No, I was wrong\nYes I will!") | |
if select == 2 | |
" keep going | |
else | |
quit | |
endif | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment