Commit Graph

224 Commits

Author SHA1 Message Date
Shougo Matsushita
9f74be4e7c - Used partial match for neocomplcache completion. 2012-11-02 11:19:46 +09:00
Shougo Matsushita
c9a8833b60 - Added g:neosnippet#enable_snipmate_compatibility option. 2012-11-02 10:48:55 +09:00
Shougo Matsushita
3300aafd8e - Improved java snippets. 2012-11-01 18:44:37 +09:00
Shougo Matsushita
2a2be48c3b - Fixed convert description. 2012-11-01 11:29:37 +09:00
Shougo Matsushita
96cf9fd8ad - Fixed substitute of target. 2012-11-01 11:26:40 +09:00
Shougo Matsushita
1230648e39 - Fixed snippet mirror behavior. 2012-11-01 11:18:58 +09:00
Shougo Matsushita
32eca05280 - Added <Plug>(neosnippet_start_unite_snippet_target). 2012-10-31 14:50:50 +09:00
Shougo Matsushita
2d5fccac52 - Improved indent_snippet(). 2012-10-31 11:10:56 +09:00
Shougo Matsushita
40fb2b4877 - Fixed indentation. 2012-10-30 23:53:35 +09:00
Shougo Matsushita
00d2c7ed52 - Fixed neosnippet#jump() error. 2012-10-30 18:54:07 +09:00
Shougo Matsushita
19e6bb6253 - Refactored snippets files. 2012-10-30 17:53:14 +09:00
Shougo Matsushita
efb7202876 - Improved default snippet files. 2012-10-30 12:06:31 +09:00
Shougo Matsushita
ad5e0067e1 - Added <Plug>(neosnippet_register_oneshot_snippet). 2012-10-30 11:27:59 +09:00
Shougo Matsushita
c8a337b6aa - Added indent option. 2012-10-30 10:58:26 +09:00
Shougo Matsushita
6ec0f14a87 - Improved targetted placeholder behavior. 2012-10-30 10:47:52 +09:00
Shougo Matsushita
d1831744d6 - Fixed expand snippet. 2012-10-30 09:12:48 +09:00
Shougo Matsushita
dc4ad41100 - Improved targetted placeholder. 2012-10-30 08:03:53 +09:00
Shougo Matsushita
efecca4fb8 - Implemented target placeholder. 2012-10-30 07:38:37 +09:00
Shougo Matsushita
be5b8e37cd - Fixed for alias. 2012-10-30 05:18:59 +09:00
Shougo Matsushita
ff281e5171 - Improved python snippets. 2012-10-30 05:11:23 +09:00
Shougo Matsushita
9e96a69061 - Implemented commented placeholder. 2012-10-30 05:09:50 +09:00
Shougo Matsushita
c1cfe686ad - Added get_selected_text(). 2012-10-29 19:27:18 +09:00
Shougo Matsushita
d4870c9987 - Improved clear select mode mappings. 2012-10-29 12:28:33 +09:00
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
ujihisa
776b5801a3 improved lua snip 2012-10-15 23:03:51 -07:00
rhysd
2f30c8c83e Added C++ snippets
- static_cast ( this is C++11 feature )
- namespace
- new casts
2012-10-16 14:55:50 +09:00
Shougo Matsushita
e260e63b95 Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet 2012-10-15 08:41:27 +09:00
Shougo Matsushita
7219f062fa - Improved error check. 2012-10-15 08:39:34 +09:00
ujihisa
030e98deda improving C snip -- abbr has more info 2012-10-13 18:11:05 -07:00
ujihisa
50b9a3a059 Improved vim snip -- adding augroup snippet. 2012-10-07 14:36:32 -07:00
Shougo Matsushita
c301eea419 - Fixed for E749. 2012-10-06 20:18:15 +09:00
Shougo Matsushita
23dd5a099e Don't create file in editting snippet file 2012-10-06 20:05:36 +09:00
Shougo Matsushita
4e8f2ab813 - Fixed setfiletype. 2012-10-06 19:54:47 +09:00
Shougo Matsushita
cc22621217 - Fixed vim snippets. 2012-10-06 18:00:21 +09:00
Shougo Matsushita
2ce74aabd7 - Improved indentation behavior. 2012-10-06 17:56:10 +09:00
Shougo Matsushita
365357b741 - Fixed substitute marker. 2012-10-06 17:16:56 +09:00
Shougo Matsushita
88821a7d9b - Improved indent snippet behavior. 2012-10-06 16:22:36 +09:00
Shougo Matsushita
d7d138090e - Changed prev_word behavior. 2012-10-04 18:49:16 +09:00
Shougo Matsushita
e370a62d44 - Changed g:neosnippet#disable_runtime_snippets behavior. 2012-10-04 17:51:15 +09:00
Shougo Matsushita
2e6791e870 - Fixed typo. 2012-10-04 15:37:13 +09:00
Shougo Matsushita
ce8e095c9c - Fixed s:get_cursor_snippet(). 2012-10-04 14:28:37 +09:00
ujihisa
e7ac14bf34 scala snip tweaks 2012-10-03 21:24:24 -07:00
ujihisa
ab9dc6873b Adding new snip: scala 2012-10-03 21:22:37 -07:00
Shougo Matsushita
6eef3d5462 - Changed :NeoSnippetEdit behavior. 2012-10-04 12:35:07 +09:00
Shougo Matsushita
82dce7fb66 Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet 2012-10-04 10:22:56 +09:00
Shougo Matsushita
6e733a5ccb - Refactored snippets filter. 2012-10-04 10:22:35 +09:00
Shougo Matsushita
04dd784a5b - Added <Plug>(neocomplcache_start_unite_snippet). 2012-10-03 18:13:18 +09:00
ujihisa
eb19289a31 bugfix: :leftbelow command doesn't exit. now -split option will work. 2012-10-02 14:26:38 -07:00
Shougo Matsushita
6780dd60f6 - Improved python snippets. 2012-10-01 13:25:38 +09:00
Shougo Matsushita
f64bb1d55a - Deleted neosnippet#force_expandable(). 2012-10-01 10:26:09 +09:00
ujihisa
5cd0e35f10 bugfix: it was infinite loop! 2012-09-30 15:11:20 -07:00