Michael Sanders
8764924dfe
Completely replaced command-based snippets with a new, easier to read/maintain syntax. Also added a python script to make it easier to migrate.
2009-03-22 22:35:03 -04:00
Michael Sanders
1c12d12862
made GetSnippets() a public function
2009-03-22 21:41:55 -04:00
Michael Sanders
899fe4f5ce
now using finddir() to find snippet directory
2009-03-22 21:10:25 -04:00
Michael Sanders
5527548d63
added support for buffer-only snippets
2009-03-15 18:52:29 -04:00
Michael Sanders
3a64f6a024
fixed a typo in vim snippets
2009-03-14 21:24:27 -04:00
Michael Sanders
6c978f274d
refactored again; s:BuildTabStops() may actually be somewhat comprehensible now
2009-03-03 21:21:54 -05:00
Michael Sanders
392226a847
added automatic setting of g:snippet_filetype to the 'guard' snippet
2009-03-02 22:28:16 -05:00
Michael Sanders
3db3319e80
added a default "guard" snippet for checking if a snippet has been loaded more than once, and put cpp snippets in their own file"
2009-03-02 21:38:07 -05:00
Michael Sanders
6fa780f53e
fixed typo that prevented file-based snippets from being loaded in Windows
2009-03-02 13:33:50 -05:00
Michael Sanders
a8109fa38f
fixed objc/cpp command-based snippets
2009-03-01 19:24:43 -05:00
Michael Sanders
dd8b39a9b5
fixed typo in check for file-based snippets
2009-03-01 17:24:38 -05:00
Michael Sanders
6c08f9358d
fixed bug with dotted filetypes in file-based snippets
2009-03-01 17:20:29 -05:00
Michael Sanders
3e7d478b91
fixed bug with dotted filetypes
2009-03-01 17:11:13 -05:00
Michael Sanders
644556ff42
fixed a typo in the check for global file-based snippets
2009-02-28 19:12:49 -05:00
Michael Sanders
892b4a90fb
fixed bug with updating tab stops after a nested snippet is inserted
2009-02-28 16:52:33 -05:00
Martin Grenfell
b5999ba5cc
bugfix: dont source file based snippets more than once
...
Set the s:did_<filetype> flag after reading in
file based snippets. This prevents snippets getting read in more than
once.
Move the code that checks for file based snippets out of
after/plugin/snipMate.vim and into plugin/snipMate.vim. Refactor this
code into functions for readability.
Signed-off-by: meese <msanders42@gmail.com >
2009-03-01 05:44:07 +08:00
Michael Sanders
2e150f015c
added back snip, snipp, gsnip, gsnipp, and vim snippets
2009-02-26 20:30:59 -05:00
Michael Sanders
2e5caabf53
fixed some bugs, and added support for nested snippets (!)
2009-02-26 18:24:13 -05:00
Michael Sanders
1d7f242ce5
some more refactoring
2009-02-25 16:22:04 -05:00
Michael Sanders
48b5d02a89
significantly refactored code, and added support for file-based snippets and delimeters before snippet triggers.
2009-02-25 15:02:34 -05:00
Michael
9707a70f85
Version 0.61803399 (first commit)
2009-02-16 21:11:41 -05:00