1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-20 12:58:05 +01:00
Commit Graph

64 Commits

Author SHA1 Message Date
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
4e06ee1aa4 disabled loading snippets for help files 2009-03-26 13:23:35 -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
75b87b7473 made sure g:snippets_dir is always an absolute path 2009-03-25 02:32:16 -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
7372923fda fixed bug with incorrect path to snippets 2009-03-23 13:04:09 -04:00
Michael Sanders
99653dc5d5 updated documentation 2009-03-23 10:40:52 -04:00
Michael Sanders
0f4ab5a2fb added html helper function for closing tags 2009-03-23 10:12:09 -04:00
Michael Sanders
d78fb50bde made convertSnip.py a bit easier to read by using raw strings 2009-03-23 01:29:56 -04:00
Michael Sanders
aa854cb971 accidentally made snippet file for *.snippet(s) snippets.snippet instead of snippet.snippet 2009-03-22 22:47:44 -04:00
Michael Sanders
bd729bb2a3 fixed typo in convertSnip.py 2009-03-22 22:44:54 -04:00
Michael Sanders
18bcca6a42 added syntax coloring for *.snippet(s) files 2009-03-22 22:43:17 -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
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
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
3a64f6a024 fixed a typo in vim snippets 2009-03-14 21:24:27 -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
562d78749d updated documentation 2009-03-08 21:50:38 -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
4ec62447c8 rewrote and updated some of the documentation 2009-03-02 20:43:16 -05:00
Michael Sanders
e18b44e640 fixed some bugs with expanding nested snippets 2009-03-02 18:46: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
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
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
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
644556ff42 fixed a typo in the check for global file-based snippets 2009-02-28 19:12:49 -05:00