Michael Sanders
c82e7a27d1
added old default snippets_dir setting as a fallback
2009-03-26 13:29:47 -04:00
Michael Sanders
40c44b5c64
fixed a couple typos and disable the old snippet commands
2009-03-26 13:24:06 -04:00
Michael Sanders
875ced1101
added support for automatic loading of snippets in hyphened files & directories
2009-03-26 01:05:12 -04:00
Michael Sanders
238e937500
added a cleaner fix for supertab
2009-03-26 00:21:04 -04:00
Michael Sanders
80add0f93b
fixed placeholder bug when hitting <tab> after using the completion menu
2009-03-26 00:19:10 -04:00
Michael Sanders
566ca0f962
moved some parts of snipmate to autoload
2009-03-25 22:09:41 -04:00
Michael Sanders
709fc64b29
temporarily removed nested snippets while I sort out the bugs
2009-03-25 21:14:23 -04:00
Michael Sanders
5a461cfb63
fixed bug when cancelling a snippet with multiple matches
2009-03-25 16:32:39 -04:00
Michael Sanders
319292a669
fixed behavior with popup menu when supertab.vim is installed
2009-03-24 15:11:40 -04:00
Michael Sanders
1e8fe57222
made it so ResetSnippets() resets g:did_ft as well
2009-03-24 14:20:52 -04:00
Michael Sanders
84321bbe17
fixed behavior when pressing <tab> when outside of a snippet & the popup menu is open
2009-03-24 14:15:26 -04:00
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
a9ae5af003
removed the slash variable since it's not used anymore
2009-03-22 21:09:15 -04:00
Michael Sanders
7e543f8f34
replaced regexes in ExtractSnips() and s:ProcessFile() with a simple fnamemodify()
2009-03-22 20:41:48 -04:00
Michael Sanders
bf7cfb1d1f
fixed bug with special characters in placeholders
2009-03-22 19:35:50 -04:00
Michael Sanders
a3e3958d30
fixed bug with special characters in snippet triggers
2009-03-22 19:17:42 -04:00
Michael Sanders
b905e94673
fixed arguments for GetSnippet()
2009-03-19 19:15:24 -04:00
Reza Jelveh
4a63cf2adc
fixed a typo in the renames
...
Signed-off-by: Michael Sanders <msanders42@gmail.com >
2009-03-20 07:07:35 +08:00
Michael Sanders
0180a85088
added support for the 'shellslash' option on Windows
2009-03-15 18:53:54 -04:00
Michael Sanders
5527548d63
added support for buffer-only snippets
2009-03-15 18:52:29 -04:00
Michael Sanders
150a65594b
removed s:Hash() since there's no need for it in Dictionaries
2009-03-15 15:47:41 -04:00
Michael Sanders
713699c58a
added fix for bug with variables inside placeholders
2009-03-14 21:24:11 -04:00
Michael Sanders
c265dcb96e
fixed bug with file-based snippets
2009-03-08 21:52:11 -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
e18b44e640
fixed some bugs with expanding nested snippets
2009-03-02 18:46:07 -05:00
Michael Sanders
b63e39d8ed
cleaned up code dealing with triggers for dotted file types
2009-03-01 21:48:48 -05:00
Michael Sanders
a8109fa38f
fixed objc/cpp command-based snippets
2009-03-01 19:24:43 -05:00
Michael Sanders
3e7d478b91
fixed bug with dotted filetypes
2009-03-01 17:11:13 -05:00
Michael Sanders
8f31a3b9bf
added fix for more special characters (., ^, and $) in snippet triggers
2009-03-01 16:40:36 -05:00
Michael Sanders
f6a9e90da6
fixed another bug when expanding a nested snippet in a placeholder (one more to go
2009-02-28 21:44:40 -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
dd4836d2b2
fixed a bug with file-based snippets
2009-02-26 20:41:56 -05:00
Michael Sanders
74c848ecc4
changed all "en"s to "endifs" to hopefully make the script a bit more readable...
2009-02-26 18:28:33 -05:00
Michael Sanders
2e5caabf53
fixed some bugs, and added support for nested snippets (!)
2009-02-26 18:24:13 -05:00
Michael Sanders
8db937bb3b
fixed a bug when expanding snippets
2009-02-25 17:50:59 -05:00
Michael Sanders
979da19541
some more refactoring
2009-02-25 16:24:45 -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