Commit Graph

546 Commits

Author SHA1 Message Date
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
Shougo
dcef469919 Merge pull request #57 from vinsonchuong/refactor-folding-fix
Simplify folding fix
2012-10-25 22:59:58 -07: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
ujihisa
7286b8e819 better English 2012-10-19 20:59:02 -07:00
ujihisa
42e3c7561f typofix 2012-10-19 20:56:03 -07:00
ujihisa
b3dc4abc38 better English 2012-10-19 20:55:19 -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
003ecce466 - Improved documentation. 2012-10-19 16:11:37 +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
16762dfe1d - Fixed syntax highlight. 2012-10-19 09:00:36 +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
a0600fa2fe Merge pull request #47 from NagatoPain/stardiviner
improve include document
2012-10-17 01:46:05 -07:00
NagatoPain
2ff38d0d21 improve include doc 2012-10-17 16:43:23 +08:00
Shougo Matsushita
daba463774 - Improved documentation. 2012-10-17 16:27:12 +09:00
Shougo Matsushita
10281266ea - Improved documentation. 2012-10-17 14:45:37 +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