Completion/templating snippets for XPTemplate vim plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

24 lines
449 B

  1. "
  2. "
  3. XPTemplate priority=personal+
  4. XPT key hidden " :key => val
  5. XSET val=Echo('')
  6. `$_xSnipName^ => `val^
  7. XPT :cols synonym=:rows|:size|:maxsize|:null|:url
  8. `:key:^
  9. XPT :object synonym=:collection|:locals|:layout|:method
  10. `:key:^
  11. XPT :id synonym=:class|:alt|:title|:action|:controller
  12. XSET str='`val^'
  13. `:key({ 'val' : 'str' }):^
  14. XPT :selected synonym=:multipart
  15. XSET bool=true`^
  16. `:key({ 'val' : 'bool' }):^
  17. XPT :html alias=key
  18. XSET val={ `html^ }