adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
31
plugins/bundle/xptemplate/ftplugin/html/php.xpt.vim
Normal file
31
plugins/bundle/xptemplate/ftplugin/html/php.xpt.vim
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
" These snippets work only in html context of php file
|
||||
if &filetype != 'php'
|
||||
finish
|
||||
endif
|
||||
|
||||
XPTemplate priority=lang-2
|
||||
|
||||
" this is html-scope variable independent
|
||||
if exists( 'php_noShortTags' )
|
||||
XPTvar $PHP_TAG php
|
||||
else
|
||||
XPTvar $PHP_TAG
|
||||
endif
|
||||
|
||||
|
||||
XPT shebang " #!/usr/bin/env php
|
||||
#!/usr/bin/env php
|
||||
|
||||
..XPT
|
||||
|
||||
XPT sb alias=shebang
|
||||
|
||||
|
||||
XPT php " <?$PHP_TAG ?>
|
||||
<?`$PHP_TAG^ `cursor^ ?>
|
||||
|
||||
XPT pe " <?= ?>
|
||||
<?=`cursor^?>
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue