Created
October 26, 2014 02:40
-
-
Save nelsonsar/4d940c6296d1502ecd36 to your computer and use it in GitHub Desktop.
Abrir o arquivo de teste do arquivo aberto em PHP
This file contains hidden or 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 GoToTest(...) | |
let filename = expand('%:t:r') | |
let test_filename = filename."Test.php" | |
"You can use a folder to avoid tabf to open the wrong file | |
if a:0 > 0 | |
execute "tabf **/".a:1."/".test_filename | |
else | |
execute "tabf **/".test_filename | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment