We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to expand ptest into welcome python in file ending with html,add lines in html.snippets(located in vim-snippets/UltiSnips):
ptest
welcome python
html.snippets
snippet ptest !p print("welcome python") endsnippet
ptest expand into !p print("welcome python"),i rewrite the snippet as below then:
!p print("welcome python")
snippet ptest `!p print("welcome python")` endsnippet
ptest expand into nothing!
The text was updated successfully, but these errors were encountered:
Python interpolation will use the result from the Python expression, so you can simply use "welcome python".
"welcome python"
It's not about what you print since print does not return anything.
print
Sorry, something went wrong.
No branches or pull requests
I want to expand
ptest
intowelcome python
in file ending with html,add lines inhtml.snippets
(located in vim-snippets/UltiSnips):ptest
expand into!p print("welcome python")
,i rewrite the snippet as below then:ptest
expand into nothing!The text was updated successfully, but these errors were encountered: