Commit Graph

151 Commits

Author SHA1 Message Date
Shougo Matsushita
e1bb6d58ef - Improved syntax. 2012-10-29 11:32:38 +09:00
Shougo Matsushita
d30ce7fe79 - Improved syntax of markers. 2012-10-29 11:27:22 +09:00
Shougo Matsushita
de453e5a16 - Improved parse of snippets file. 2012-10-29 11:22:37 +09:00
Shougo Matsushita
2b5eb202f7 - Improved filter behavior. 2012-10-28 19:15:58 +09:00
Shougo Matsushita
6f2f181cb3 - Improved expand behavior. 2012-10-28 18:58:55 +09:00
Shougo
77375e8fd3 Merge pull request #61 from vinsonchuong/refactor-folding-fix
Simplified fix not working for some snippets
2012-10-28 02:54:47 -07:00
Shougo
d74196b4fd Merge pull request #63 from vinsonchuong/fix-conceal-autocmd
Fix autocmd not firing for initial buffer
2012-10-28 02:53:28 -07:00
Shougo Matsushita
a0cae1175e - Improved ruby snippets. 2012-10-28 18:49:19 +09:00
Shougo Matsushita
f1a6401519 - Improved snipMate compatibility. 2012-10-28 18:47:26 +09:00
Christian Höltje
d305dde1cc - Merged. 2012-10-28 18:35:14 +09:00
Christian Höltje
2fde49493b Add compatability for SnipMate-style abbr
SnipMate-style snippets set the `abbr` (they call it `name`) via
the snippet line.  Note: If both styles are used, then neosnippet
style wins.

Example of SnipMate-style:

    snippet   if   if ... end
    if ${1:condition}
      ${2}
    end

Example of neosnippet-style:

    snippet   if
    abbr      if ... end
    if ${1:condition}
      ${2}
    end
2012-10-28 18:30:51 +09:00
Vinson Chuong
5470da2546 Fix autocmd not firing for initial buffer 2012-10-27 19:07:17 -07:00
Vinson Chuong
870db7dfca Simplified fix not working for some snippets 2012-10-27 17:10:09 -07:00
Shougo Matsushita
0a3edfa3a0 - Improved a bit. 2012-10-27 18:06:46 +09:00
Shougo Matsushita
b955d17e5e - Improved g:neosnippet#disable_select_mode_mappings behavior. 2012-10-27 18:04:53 +09:00
Shougo Matsushita
e9db76f71f - Fixed for :SnippetEdit. 2012-10-27 12:20:00 +09:00
Vinson Chuong
aa0bc464fa Simplify folding fix 2012-10-25 22:43:28 -07:00
ujihisa
5b78c5c6f6 bugfix: javascript setTimeout(...); has semicolon in the end which means it's not an expression but a statement. 2012-10-25 18:55:12 -07:00
ujihisa
020c2f126e bugfix: JavaScript function literal is not only a statement but also an expression; you can pass the function literal as an argument for a function call. 2012-10-25 18:54:21 -07:00
Shougo Matsushita
e24b6baeb9 - Merged. 2012-10-26 10:48:41 +09:00
Shougo
d94e807286 Merge pull request #56 from vinsonchuong/fix-folding
Prevent folding of expanded snippet
2012-10-25 18:47:25 -07:00
Shougo Matsushita
2a4db10f9b - Improved javascript snippet file. 2012-10-26 10:46:05 +09:00
ujihisa
b01091afd7 ditto in lua and vim/vital 2012-10-25 09:12:39 -07:00
ujihisa
43247731b7 javascript snippet bugfix: follows changes in prev_word/options 2012-10-25 09:00:22 -07:00
Vinson Chuong
e25014e008 Prevent folding of expanded snippet 2012-10-25 07:56:08 -07:00
Shougo Matsushita
f46f36837e - Deleted sandbox execution. 2012-10-25 10:50:25 +09:00
Shougo Matsushita
f87a6b324a - Improved neosnippet#util#expand(). 2012-10-23 11:00:22 +09:00
Shougo Matsushita
f79f3df531 - Use head instead of prev_word. 2012-10-21 21:13:26 +09:00
Shougo Matsushita
fdc6880600 - Fixed print_error(). 2012-10-21 21:07:57 +09:00
Shougo Matsushita
e44c9d6562 - Improved options word behavior. 2012-10-21 20:48:02 +09:00
Shougo Matsushita
deaa1469f5 - Merged. 2012-10-21 18:03:39 +09:00
Shougo Matsushita
15e014ca10 - Added options word. 2012-10-21 18:03:10 +09:00
Shougo Matsushita
87b97cd385 - Added options head. 2012-10-21 17:51:07 +09:00
ujihisa
898488cccd Added vim/vital snip. 2012-10-20 19:48:13 -07:00
ujihisa
5919706b02 Added haskelll snip. 2012-10-20 19:16:15 -07:00
ujihisa
76e8612410 Improved scala snip -- prev_word wasn't used properly 2012-10-20 00:24:26 -07:00
Shougo Matsushita
77b3a1950d - Fixed markdown snip. 2012-10-19 19:26:30 +09:00
Shougo Matsushita
a0c387de1e - Improved documentation. 2012-10-19 18:38:52 +09:00
Shougo Matsushita
f0a97fa957 - Fixed make cache behavior. 2012-10-19 18:31:55 +09:00
Shougo Matsushita
355789b029 - Search snippets recursively. 2012-10-19 16:07:15 +09:00
Shougo Matsushita
de6dd9aae2 - Improved documentation. 2012-10-19 11:02:08 +09:00
Shougo Matsushita
5970efcf6b - Fixed menu pattern. 2012-10-18 16:31:45 +09:00
Shougo Matsushita
ae1c34cdfa - Improved unite__new_candidate action. 2012-10-18 12:35:04 +09:00
Shougo Matsushita
befa939da6 - Added unite__new_candidate action in snippet source. 2012-10-18 12:28:51 +09:00
Shougo Matsushita
97b0a2a246 - Fixed s:get_sources_list(). 2012-10-18 11:57:09 +09:00
Shougo Matsushita
e17f326239 - Improved escape placeholder. 2012-10-17 08:27:52 +09:00
Shougo Matsushita
33de2273e8 - Fixed alias problem. 2012-10-17 08:19:37 +09:00
Shougo Matsushita
25d448c133 Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet 2012-10-17 08:06:05 +09:00
Dave Marshall
b6f4c54716 Allow backslashes in placeholder defaults
I managed to put a backslash in a placeholder default, by escaping it like \\, and then changing this pattern.

I've no idea how safe it is, the placeholder in a placeholders still seem to work, but I don't know if it will have messed anything else up.
2012-10-16 16:04:04 +02:00
ujihisa
b5afaa3363 Improved C++ snip 2012-10-15 23:05:24 -07:00