Skip to content

Commit

Permalink
feat: add pinpongTp.vim (#199)
Browse files Browse the repository at this point in the history
Co-authored-by: Pinpong Tongpat <[email protected]>
  • Loading branch information
PinpongTp and PinpongTongpat authored Oct 27, 2023
1 parent 0a3714f commit 93ce2fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Vim/pinpongTp.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
" pinpongTp.vim

function! Translate(text)
let str = a:text
if a:text ==# "coffee"
let str = "code"
endif
echo "input: " .. a:text
echo "output: " .. str
endfunction

0 comments on commit 93ce2fd

Please sign in to comment.