Commit Graph

358 Commits

Author SHA1 Message Date
ujihisa
911086de51 add Java Hello World snippet 2013-04-09 18:09:43 -07:00
Shougo Matsushita
9e38cd7b9c - Improved escape placeholder behavior. 2013-04-02 17:51:12 +09:00
ujihisa
08d5f030fd abandone legacy ruby syntax 2013-04-01 20:20:34 -07:00
ujihisa
4f32b4f856 Add kp19pp snippet. 2013-04-01 20:18:14 -07:00
ujihisa
f25adadc50 typofix: lambda. also follows coding convention 2013-04-01 20:13:15 -07:00
Shougo Matsushita
5f69130b33 - Added g:neosnippet#enable_preview option. 2013-03-30 11:28:25 +09:00
Shougo Matsushita
be9fcf4215 - Added rst snippets. 2013-03-30 10:53:16 +09:00
Shougo Matsushita
0ea0a0b3a7 - Added note. 2013-03-24 20:36:27 +09:00
Shougo Matsushita
5c89e3193b - Disabled partial match. 2013-03-24 20:35:25 +09:00
Shougo Matsushita
f53e29aba1 - Added vim snippets. 2013-03-24 18:52:34 +09:00
Shougo Matsushita
2c5f641536 - Added ruby snippets. 2013-03-24 17:30:27 +09:00
ujihisa
3ca2e1d846 bugfix: variable mirror_marker is undefined at that time 2013-03-22 14:32:23 -07:00
ujihisa
9cd3fcb048 Added sql snippet. 2013-03-21 00:17:49 -07:00
Shougo Matsushita
7cdc508edb - Supported preview window. 2013-03-16 12:42:20 +09:00
Shougo Matsushita
c5913090b4 - Fixed menu error. 2013-03-10 11:24:19 +09:00
Shougo Matsushita
938e614056 - Changed filtering behavior. 2013-03-06 00:23:10 +09:00
Shougo Matsushita
60e460f886 - Fixed on insert leave. 2013-03-05 23:23:07 +09:00
Shougo Matsushita
f81f66e211 - Fixed source error. 2013-03-05 22:57:03 +09:00
Shougo Matsushita
85bb20d0cc - Fixed error in snippet source. 2013-03-05 22:54:52 +09:00
Shougo Matsushita
e8922aebeb - Improved menu. 2013-03-02 18:31:05 +09:00
Shougo Matsushita
e7f9b327de - Improved menu truncate behavior. 2013-03-02 18:27:24 +09:00
Shougo Matsushita
ef9338e776 - Improved vim snippet. 2013-02-24 15:34:45 +09:00
Shougo Matsushita
b0d0bb1a6c - Added unite__new_candidate action. 2013-02-17 16:11:21 +09:00
Shougo Matsushita
8fa2d27f62 - Improved snippet sources. 2013-02-17 14:58:57 +09:00
manga_osyo
336870a15a add unite-source. 2013-02-17 14:20:34 +09:00
Shougo Matsushita
fb1adf391b - Improved :NeoSnippetEdit. 2013-02-17 13:10:41 +09:00
Shougo Matsushita
47a1bfda12 - Fixed s:get_sources_filetypes() error. 2013-02-16 23:03:22 +09:00
Shougo Matsushita
c6e175ef71 - Fixed get snippet range. 2013-02-16 21:39:39 +09:00
Shougo Matsushita
f2f56b5a0f - Fixed on_insert_leave(). 2013-02-16 21:28:14 +09:00
Shougo Matsushita
925c03824d - Delete simple markers when InsertLeave. 2013-02-16 20:50:22 +09:00
Shougo Matsushita
2666977005 - Added html snippet. 2013-02-16 14:35:09 +09:00
Shougo Matsushita
24dd5cff66 merged. 2013-02-16 13:15:46 +09:00
Shougo Matsushita
a6eae4ae36 - Added sh snippet. 2013-02-16 13:13:32 +09:00
ujihisa
f607d3bac1 Improved php snippets. 2013-02-03 15:36:52 -08:00
Shougo Matsushita
d8605ea946 - Added vim snippets. 2013-02-01 11:47:59 +09:00
Shougo Matsushita
27274a32a4 - Added autoload snippet in Vim snip. 2013-01-30 08:03:53 +09:00
Shougo Matsushita
b96e2bb402 - Added snippet aliases. 2013-01-22 10:49:21 +09:00
Shougo Matsushita
6863f6139c - Added NeoBundleLazy snippet. 2013-01-22 10:48:34 +09:00
Shougo Matsushita
cc4d978744 - Lazy initialization. 2013-01-20 11:59:32 +09:00
Shougo Matsushita
bdc7f9cb5b - Added neobundle#expandable_or_jumpable(). 2013-01-13 08:08:51 +09:00
Shougo Matsushita
20f82b2e02 - Changed neosnippet#expandable() behavior. 2013-01-07 10:37:02 +09:00
Shougo Matsushita
7e57355018 - Improved initialization timing. 2013-01-02 13:53:58 +09:00
Shougo Matsushita
b1ac2eb3ed - Updated vital. 2012-12-25 22:58:04 +09:00
Shougo Matsushita
23677b98b9 - Improved tex snippets. 2012-12-21 19:19:23 +09:00
Shougo Matsushita
46442d8893 - Fixed typo. 2012-12-17 10:55:50 +09:00
Shougo Matsushita
c98182d10d - Converted markers. 2012-12-13 17:34:20 +09:00
Shougo Matsushita
0fa62bcea1 - Fixed expand target behavior. 2012-12-13 16:52:58 +09:00
Shougo Matsushita
d01cd7247f - Skip neocomplcache completion when expand or jump snippets. 2012-12-13 14:53:23 +09:00
Shougo Matsushita
8e9d221d06 - Improved tex snippet. 2012-12-11 00:41:51 +09:00
Shougo Matsushita
61e87acb1e Merge branch 'master' of github.com:Shougo/neosnippet 2012-12-11 00:37:48 +09:00
Shougo Matsushita
2feefaf9b4 - Improved tex snippet. 2012-12-11 00:37:42 +09:00
syngan
87fb9aa4d2 improved tex.snip 2012-12-10 22:25:54 +09:00
Shougo Matsushita
9c4b50dd0b - Added NeoBundle snippet. 2012-12-02 00:44:38 +09:00
Shougo Matsushita
705d61471c - Improved for expand(). 2012-11-17 08:49:18 +09:00
Shougo Matsushita
d8d4c9e95c Merge branch 'master' of github.com:Shougo/neosnippet 2012-11-15 07:27:39 +09:00
Shougo Matsushita
8a5ac0b6a9 - Fixed error in warning message. 2012-11-15 07:27:05 +09:00
rhysd
33e04bd750 fix C++ namespace snippet
namespace の開き括弧が抜けていたため,修正しました.
2012-11-11 20:57:25 +09:00
Shougo Matsushita
8da63999f5 - Merged. 2012-11-10 10:48:10 +09:00
Shougo Matsushita
ef5b97466e - Improved keyword filter behavior. 2012-11-10 10:47:14 +09:00
Shougo Matsushita
bc1f26d74d - Fixed convert description. 2012-11-09 14:25:32 +09:00
Shougo Matsushita
17ab5b07f0 - Improved convert description behavior. 2012-11-09 12:39:41 +09:00
Shougo Matsushita
5ccca08ff8 - Improved snippet rank. 2012-11-09 08:47:12 +09:00
Shougo Matsushita
d709b75afe - Fixed error in java snippet. 2012-11-09 07:58:17 +09:00
Shougo Matsushita
4c605a5d8f - Improved syntax error. 2012-11-09 07:55:40 +09:00
Shougo Matsushita
26a8a75a7e - Fixed s:indent_snippet(). 2012-11-08 11:56:07 +09:00
Shougo Matsushita
df8767752e - Fixed expand target. 2012-11-06 15:28:54 +09:00
Shougo Matsushita
15cad9454d - Improved default tex snippets. 2012-11-06 14:56:29 +09:00
Shougo Matsushita
0a2d19aea4 - Changed spaces behavior. 2012-11-05 16:59:39 +09:00
Shougo Matsushita
bbf1f43ec5 - Fixed snippet parser. 2012-11-05 12:11:25 +09:00
Shougo Matsushita
177940ae3a - Fixed for comment string. 2012-11-05 12:01:14 +09:00
Shougo Matsushita
59f7c05fb2 - Improved completion behavior. 2012-11-04 20:47:54 +09:00
Shougo Matsushita
b475e05455 - Fixed filter_str. 2012-11-03 19:25:17 +09:00
Shougo Matsushita
45c3baaf23 - Added regexp syntax. 2012-11-03 15:35:27 +09:00
Shougo Matsushita
ff8b6f19c3 - Refactored parse routine. 2012-11-03 14:08:11 +09:00
Shougo Matsushita
5952b6e51d - Refactored documentation. 2012-11-03 12:33:18 +09:00
Shougo Matsushita
8a2cc9f936 - Improved partial match condition. 2012-11-02 21:11:35 +09:00
Shougo Matsushita
9aa9ce6ea2 - Fixed snippet error. 2012-11-02 17:58:54 +09:00
Shougo Matsushita
b51dc62ef0 - Added python snippets. 2012-11-02 17:54:48 +09:00
Shougo Matsushita
f3eac08269 - Improved partial filter. 2012-11-02 15:08:20 +09:00
Shougo Matsushita
343925a5c8 - Fixed for abbr. 2012-11-02 14:57:17 +09:00
Shougo Matsushita
e367cd6330 - Improved partial match behavior. 2012-11-02 14:39:23 +09:00
Shougo Matsushita
c24924125b - Fixed for abbr. 2012-11-02 14:18:30 +09:00
Shougo Matsushita
c3ea9a5d18 - Fixed set of abbr. 2012-11-02 14:13:08 +09:00
Shougo Matsushita
54d41fa170 - Fixed for neocomplcache. 2012-11-02 11:44:35 +09:00
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