Michael Sanders
9e11b093d4
added support for <shift-tab> to go back a tab stop, and cleaned up the code a bit
2009-07-12 19:59:04 -04:00
Michael Sanders
31d03ef467
fixed bug with <c-r><tab> completion
2009-06-03 17:50:40 -04:00
Michael Sanders
a771c129d2
fixed bug with cancelling multi-snippet
2009-05-12 12:26:58 -04:00
Michael Sanders
fdf1f8c029
cleaned up part of <c-r><tab> implementation
2009-05-03 14:38:53 -04:00
Michael Sanders
ba316ff819
added menu that shows available snippets when <c-r><tab> is pressed
2009-05-03 12:42:07 -04:00
Michael Sanders
1c2c75c27c
got rid of some ugly global variables
2009-04-11 09:12:38 -04:00
Michael Sanders
d2e3387761
added support for multiple snippet directories
2009-04-05 16:00:50 -04:00
Michael Sanders
3b64a6788c
fixed bug when extracting filetypes on Windows
2009-04-05 12:07:02 -04:00
Michael Sanders
3a86a2beba
fixed bug with aliased filetypes (e.g. loading C snippets for Obj-C files)
2009-04-05 11:47:17 -04:00
Michael Sanders
c3327c821d
added support for hyphenated global snippets (_-foo)
2009-03-29 18:04:01 -04:00
Michael Sanders
f8ba98c38b
fixed bug with single quotes in snippet triggers
2009-03-29 18:00:13 -04:00
Michael Sanders
d319e8a7ed
fixed loading snippets for Windows
2009-03-29 15:52:34 -04:00
Michael Sanders
0e850ccc1c
fixed another bug with supertab
2009-03-29 11:44:56 -04:00
Michael Sanders
90077ef529
fixed another aspect of supertab behavior (inserting an actual tab when cursor is on whitespace)
2009-03-27 13:46:03 -04:00
Michael Sanders
35fc8dae88
added a cleaner fix for hyphenated *.snippets files
2009-03-27 13:42:37 -04:00
Michael Sanders
4f093637f1
fixed bug with hyphened *.snippets files
2009-03-26 16:20:50 -04:00
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