Last active
August 29, 2015 14:02
-
-
Save mrk21/58955e78863a94834111 to your computer and use it in GitHub Desktop.
Display a line number for Vim script.
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
scriptencoding utf-8 | |
function! g:CmdExpect(line) | |
echo a:line | |
endfunction | |
command! Expect | |
\ call g:CmdExpect(expand("<sfile>") .":". expand("<slnum>")) | |
Expect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment