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.

25 lines
1001 B

15 years ago
  1. This is the folder where you add your personal snippets.
  2. This fold is one of 'runtimepath'. You can imagine this is another ~/.vim
  3. folder( in Unix ) or ~/vimfiles( in windows ).
  4. ==============================================================================
  5. To add your own snippets, just create a snippet file like what XPT does. For
  6. example to create a C language snippet you need to create: >
  7. personal/ftplugin/c/some_name.xpt.vim
  8. < And then add snippets in this file.
  9. See |xpt-snippet-syntax| |xpt-write-snippet| and |xpt-snippet-tutorial|.
  10. NOTE: personal snippets in this file should have high priority which is set
  11. with |xpt-snippet-priority|, for example the "personal" priority: >
  12. XPTemplate priority=personal
  13. < This is the highest priority thus no other snippets overrides yours. See
  14. |xpt-snippet-priority|
  15. You can also create snippets in some other folders and specify them as snippet
  16. folder with |g:xptemplate_snippet_folders|
  17. " vim:tw=78:ts=8:sw=8:sts=8:noet:ft=help:norl:spell: