Last active
January 2, 2020 06:49
-
-
Save h-michael/0209d32535123867471e8e83fd34d441 to your computer and use it in GitHub Desktop.
lua in vimrc with heredoc
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
" OK | |
if v:true | |
lua << EOF | |
local foo = 'foo' | |
EOF | |
endif | |
" NG | |
if v:true | |
lua << EOF | |
local foo = 'foo' | |
EOF | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment