Created
March 15, 2017 14:57
-
-
Save miyohide/60d489c35dc5d04c364ca7dc6791b05d to your computer and use it in GitHub Desktop.
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
function Codefy() range | |
let start_pos = a:firstline - 1 | |
let end_pos = a:lastline | |
call append(end_pos, split("```\n", "", 1)) | |
call append(start_pos, split("\n```ruby", "", 1)) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment