Created
May 4, 2014 12:57
-
-
Save hail2u/e884157c6060ff4b426d to your computer and use it in GitHub Desktop.
vim cannot name function prefix with colon
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
Error detected while processing **************************: | |
line 1: | |
E128: Function name must start with a capital or "s:": test:func() | |
This is a test. | |
line 3: | |
E193: :endfunction not inside a function |
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! test:func() | |
echo 'This is a test' | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment