Commit Graph

500 Commits

Author SHA1 Message Date
Shougo Matsushita
038d75ce58 Add parser
Move echodoc
Move mappings API
2013-11-21 18:10:26 +09:00
Shougo Matsushita
374a77c59d Merge branch 'refactor' of https://github.com/Shougo/neosnippet.vim into refactor 2013-11-21 11:21:06 +09:00
Shougo Matsushita
a952edd245 - Added variable file. 2013-11-21 11:20:55 +09:00
Shougo Matsushita
eba42def68 - Fixed mappings. 2013-11-20 18:01:49 +09:00
Shougo Matsushita
4c37e44248 Merged. 2013-11-20 18:00:12 +09:00
Shougo Matsushita
4fa3a17b10 - Fixed #191 register broken 2013-11-20 17:56:45 +09:00
Shougo Matsushita
bee4d73092 - Added commands. 2013-11-19 16:19:33 +09:00
Shougo Matsushita
c3ca7a9ae2 - Improved clear mappings. 2013-11-19 16:07:04 +09:00
Shougo Matsushita
3f4e7a6ea9 - Improved initializer. 2013-11-19 16:04:32 +09:00
Shougo Matsushita
3ff2918433 - Splitted mappings file. 2013-11-18 20:14:01 +09:00
Shougo Matsushita
afa9ecc176 - Fixed #190 regexp feature. 2013-11-18 12:02:49 +09:00
Shougo Matsushita
b59609c74e - Fixed neosnippet#util#set_default(). 2013-11-13 06:15:57 +09:00
Shougo Matsushita
ad8cc61168 - Changed g:neosnippet#snippets_directory default value for compatibility. 2013-11-12 18:13:13 +09:00
Shougo Matsushita
294bcf2ff0 - g:neosnippet#snippets_directory allows list. 2013-11-12 17:31:06 +09:00
Shougo Matsushita
fa587d5435 - Changed g:neosnippet#enable_snipmate_compatibility behavior. 2013-11-12 17:14:24 +09:00
Shougo Matsushita
9df3ad16cb - Fixed #187 initialization. 2013-10-28 13:47:23 +09:00
Shougo Matsushita
fc713ecb62 - Fixed snippet. 2013-10-24 11:48:26 +09:00
Shougo Matsushita
e86bb3799f - Added bundle_hooks snippet. 2013-10-17 13:02:15 +09:00
Shougo Matsushita
4ee658007c - Updated vital. 2013-10-01 10:07:11 +09:00
Shougo Matsushita
382d86577d - Updated vital. 2013-10-01 06:38:24 +09:00
Shougo Matsushita
4c67a1b1ac - Fixed for sudo. 2013-09-26 15:24:48 +09:00
Shougo Matsushita
24b2ed20c6 - Improved save snippets. 2013-09-26 11:43:39 +09:00
rhysd
63fc52ad57 Added save_xxx snippets
Saving some values in temprary variables is common process in writing
Vim script.  I made snippets for them for DRY.

Added save_xxx snippets
- save_pos
- save_register
- save_options

Followings are examples of them.

    let pos_save = getpos('.')

    call setpos('.', pos_save)

    let save_reg_g = getreg('g')
    let save_regtype_g = getregtype('g')

    call setreg('g', save_reg_g, save_regtype_g)

    let selection_save = &selection
    let &selection =

    let &selection = selection_save
2013-09-26 00:55:44 +09:00
Shougo Matsushita
e1d053c3b7 - Fixed #180 select default. 2013-09-23 13:26:44 +09:00
Shougo Matsushita
b7ec09cf4d - Deleted snoremap. 2013-09-08 12:30:22 +09:00
alpaca_taichou
6cd254e7ec Append neosnippet_source action to action_table. 2013-09-01 19:19:22 +09:00
ujihisa
fb74e09c89 Improve javascript snip. 2013-08-28 16:25:46 -07:00
Sheile
97066bad41 Improve Javascript snip. 2013-08-28 13:29:12 +09:00
Sheile
84b4c2f540 Fixed javascript snip. 2013-08-28 11:31:11 +09:00
Shougo
6784e02b58 Merge pull request #173 from crazymaster/master
Improve liquid snippet
2013-08-18 04:48:35 -07:00
Shougo Matsushita
ce865813ef - Updated vital. 2013-08-18 20:32:40 +09:00
crazymaster
79d14a7677 Improve liquid snippet 2013-08-17 15:34:56 +09:00
crazymaster
4ef59e37bf Improve liquid snippet 2013-08-17 15:19:48 +09:00
crazymaster
23ce1eab41 Improve liquid snippet 2013-08-17 01:55:50 +09:00
ujihisa
d062862957 Improve ruby snip. 2013-07-23 23:23:12 -07:00
ujihisa
bda2f8ae64 Improve lua snippet. 2013-07-14 12:37:30 -07:00
ujihisa
49ccfb3791 Add erlang snippets. 2013-07-14 12:37:00 -07:00
Shougo Matsushita
7bd1acb57b - Improved snippet. 2013-07-14 10:37:49 +09:00
Shougo Matsushita
db72ae6771 - Improved stopinsert. 2013-07-12 14:10:45 +09:00
Shougo Matsushita
293332348e - Deleted ; in javascript snippet. 2013-07-12 11:56:07 +09:00
Shougo Matsushita
f724d907ef - Fixed get_source_filetypes. 2013-07-11 14:45:40 +09:00
Shougo Matsushita
fe9ba1525d - Updated unite.vim check. 2013-07-11 11:10:32 +09:00
ujihisa
a83b1b160e Improve Haskell snip. 2013-07-09 19:40:01 -07:00
ujihisa
8b360c6e20 refs #167 indentation was inconsistent 2013-07-09 18:32:12 -07:00
ujihisa
b557d0edb2 Improved C snip; english typo 2013-07-09 18:30:39 -07:00
ujihisa
0d8e32fe38 Improve C snip; removing trivial comment 2013-07-09 18:29:35 -07:00
ujihisa
466124f4b2 refs #167 Improved C snip; fopen should pair fclose. 2013-07-09 18:28:55 -07:00
ujihisa
a7c23ac09e Don't place spaces there 2013-07-09 18:24:59 -07:00
boxp
66e7c28339 Added C snippets. (fopen,fgets) #2 2013-07-09 13:04:34 +09:00
boxp
e204a66252 Added C snippets. (fopen,fgets) 2013-07-09 21:35:44 +09:00
ujihisa
157863b7cb Vitalize. 2013-07-06 00:46:13 -07:00
ujihisa
39cd6d1f28 Improved sql snippets. 2013-07-03 23:07:00 -07:00
Shougo Matsushita
f04a866db2 - Fixed neosnippet initialization. 2013-07-03 20:06:03 +09:00
Shougo Matsushita
be90bb4f93 - Improved g:neosnippet#disable_select_mode_mappings behavior. 2013-07-03 12:42:26 +09:00
UncleBill
660fce4ad2 - add snippets: header, main & footer 2013-06-29 16:16:29 +08:00
Shiyong Chen
b051fe6dc7 - add global lastmod for "Last modified time" 2013-06-29 09:50:12 +08:00
Shougo Matsushita
6a49b0fd1d - Fixed snippet substitution. 2013-06-27 11:16:30 +09:00
ujihisa
87a0450300 Improved sh, python, and clojure snip. 2013-06-25 20:43:18 -07:00
Shougo Matsushita
0c47bf82ed - Improved substitution. 2013-06-25 11:50:24 +09:00
ujihisa
13d34ada5d Improved ruby snip. 2013-06-18 17:11:45 -07:00
ujihisa
08fccee8e7 Added groovy snip. 2013-06-16 16:20:23 -07:00
ujihisa
5c4a1d0c3b bugfix: Gemfile snip 2013-06-15 12:49:50 -07:00
ujihisa
acedab79ce Added Makefile snip. 2013-06-10 18:04:02 -07:00
ujihisa
55db486ce0 Added sshconfig snip. 2013-06-10 11:31:14 -07:00
Shougo Matsushita
167abeb068 - Improved context filetype check. 2013-06-08 09:03:30 +09:00
Shougo Matsushita
e758bad9c8 - Fixed error in neosnippet source. 2013-06-05 15:28:22 +09:00
Shougo Matsushita
9c5ac40e9d - Optimized neocomplete source. 2013-06-05 11:30:54 +09:00
Shougo Matsushita
b7be48ece3 - Deleted compatibility features. 2013-06-04 22:39:30 +09:00
ujihisa
6f9c051b4f Improved go snippet. 2013-05-30 19:34:46 -07:00
ujihisa
5cb31a9205 Add scheme snippet. 2013-05-30 19:34:08 -07:00
ujihisa
1f6f777f57 Improved javascript snippet 2013-05-30 19:33:05 -07:00
Shougo Matsushita
67e38c80a9 - Fixed neosnippet source. 2013-05-29 10:56:53 +09:00
Shougo Matsushita
9ee144e773 - Fixed get_filetype(). 2013-05-28 19:24:58 +09:00
Shougo Matsushita
abd51a57da - Supported context_filetype. 2013-05-28 19:22:54 +09:00
Shougo Matsushita
92a53f748e - Fixed neosnippet source. 2013-05-28 18:18:50 +09:00
Shougo Matsushita
dbf1930768 - Fixed function name. 2013-05-28 17:15:30 +09:00
Shougo Matsushita
0f0c924c18 - Improved snippets_complete source. 2013-05-28 17:06:55 +09:00
Shougo Matsushita
c6e5ea77e1 - Added neocomplete source. 2013-05-28 16:52:34 +09:00
ujihisa
e91c6af2bb Added clojure snippets. 2013-05-27 17:51:16 -07:00
Shougo Matsushita
01e2da6e49 - Improved lua snippet. 2013-05-26 13:09:01 +09:00
Shougo Matsushita
e9b3d8f00e - Improved s:check_initialize(). 2013-05-21 14:29:00 +09:00
Shougo Matsushita
d402391f08 - Improved neosnippet initialization. 2013-05-21 14:24:33 +09:00
crazymaster
f9e05a1ec6 Fixed markdown snippets. 2013-05-20 20:57:26 +09:00
crazymaster
12bf6b429d Fixed liquid snippets. 2013-05-20 20:32:10 +09:00
Shougo Matsushita
3c9c731722 - Fixed html snippets. 2013-05-20 14:08:57 +09:00
ujihisa
ca5fa29574 Added go snippets. 2013-05-18 15:04:43 -07:00
Shougo Matsushita
a45cf80e03 - Fixed for new interface. 2013-05-12 05:02:48 +09:00
crazymaster
ef31721bce Improved liquid snippet. 2013-04-23 17:09:26 +09:00
crazymaster
48ceccda3b Added liquid snippet. 2013-04-22 22:23:03 +09:00
KaoruToda
97fd6f0d6d Added mediawiki snippet. 2013-04-21 23:34:44 +09:00
Shougo Matsushita
88910d3728 - Improved changing foldmethod feature. 2013-04-16 11:18:35 +09:00
Shougo Matsushita
d2ddf3f5ef - Removed changing foldmethod feature. 2013-04-12 11:11:52 +09:00
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