Commit Graph

249 Commits

Author SHA1 Message Date
LeafCage
3e2bc8941e fix: folding markerが含まれるsnippetで他の窓のfoldingが閉じられる問題 2013-12-12 08:31:10 +09:00
Yuki Iwanaga
728c2601b4 Fixes SID_PREFIX bug 2013-12-01 00:50:17 +09:00
Shougo
f1afc46c5d Merge pull request #194 from syngan/bib.snip
add bib.snip
2013-11-26 07:21:14 -08:00
syngan
559d0407aa add bib.snip 2013-11-26 23:06:04 +09:00
Shougo Matsushita
accdab4bf2 Fix <Plug>(neosnippet_jump) 2013-11-26 16:25:22 +09:00
Shougo Matsushita
869ba9875c Fix target problem. 2013-11-22 12:26:44 +09:00
Shougo Matsushita
4d3bc928e0 Fix #192 target behavior 2013-11-22 12:21:35 +09:00
Shougo Matsushita
3003f6078d Split view functions 2013-11-21 18:54:04 +09:00
Shougo Matsushita
e295f190dc Delete echodoc support. 2013-11-21 18:41:17 +09:00
Shougo Matsushita
212609b1e3 Move many helper functions 2013-11-21 18:40:40 +09:00
Shougo Matsushita
3d4487111e Add helpers file 2013-11-21 18:25:37 +09:00
Shougo Matsushita
3e60de00a3 Improve variables methods 2013-11-21 18:20:36 +09:00
Shougo Matsushita
4f35262ae1 Improve snipMate compatibility init 2013-11-21 18:16:10 +09:00
Shougo Matsushita
7b1f900912 Move register_oneshot_snippet function 2013-11-21 18:14:07 +09:00
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
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
b59609c74e - Fixed neosnippet#util#set_default(). 2013-11-13 06:15:57 +09:00
Shougo Matsushita
294bcf2ff0 - g:neosnippet#snippets_directory allows list. 2013-11-12 17:31:06 +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
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
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
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
293332348e - Deleted ; in javascript snippet. 2013-07-12 11:56:07 +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
39cd6d1f28 Improved sql snippets. 2013-07-03 23:07:00 -07: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
ujihisa
87a0450300 Improved sh, python, and clojure snip. 2013-06-25 20:43:18 -07: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
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
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
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
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
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
be9fcf4215 - Added rst snippets. 2013-03-30 10:53:16 +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
9cd3fcb048 Added sql snippet. 2013-03-21 00:17:49 -07:00
Shougo Matsushita
938e614056 - Changed filtering behavior. 2013-03-06 00:23:10 +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
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
23677b98b9 - Improved tex snippets. 2012-12-21 19:19:23 +09:00
Shougo Matsushita
c98182d10d - Converted markers. 2012-12-13 17:34:20 +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
rhysd
33e04bd750 fix C++ namespace snippet
namespace の開き括弧が抜けていたため,修正しました.
2012-11-11 20:57:25 +09:00
Shougo Matsushita
d709b75afe - Fixed error in java snippet. 2012-11-09 07:58:17 +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
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
3300aafd8e - Improved java snippets. 2012-11-01 18:44:37 +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
efecca4fb8 - Implemented target placeholder. 2012-10-30 07:38:37 +09:00
Shougo Matsushita
ff281e5171 - Improved python snippets. 2012-10-30 05:11:23 +09:00
Shougo Matsushita
c1cfe686ad - Added get_selected_text(). 2012-10-29 19:27:18 +09:00
Shougo Matsushita
de453e5a16 - Improved parse of snippets file. 2012-10-29 11:22:37 +09:00
Shougo Matsushita
6f2f181cb3 - Improved expand behavior. 2012-10-28 18:58:55 +09:00
Shougo Matsushita
a0cae1175e - Improved ruby snippets. 2012-10-28 18:49:19 +09:00
Christian Höltje
d305dde1cc - Merged. 2012-10-28 18:35:14 +09:00
Shougo Matsushita
b955d17e5e - Improved g:neosnippet#disable_select_mode_mappings behavior. 2012-10-27 18:04:53 +09: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 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
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
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
de6dd9aae2 - Improved documentation. 2012-10-19 11:02:08 +09: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
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
cc22621217 - Fixed vim snippets. 2012-10-06 18:00:21 +09:00
Shougo Matsushita
e370a62d44 - Changed g:neosnippet#disable_runtime_snippets behavior. 2012-10-04 17:51:15 +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
6780dd60f6 - Improved python snippets. 2012-10-01 13:25:38 +09:00
Shougo Matsushita
e3fa0bbf64 - Renamed commands. 2012-09-30 19:10:25 +09:00
Shougo Matsushita
67b59e9a1b - Deleted s:get_cursor_keyword_snippet(). 2012-09-30 17:30:21 +09:00
Shougo Matsushita
50cabbdce7 - Deleted neocomplcache depends. 2012-09-30 17:21:47 +09:00
Shougo Matsushita
6cebc087a2 - Refactored variables. 2012-09-30 17:17:31 +09:00
Shougo Matsushita
4fe36ca340 - Deleted neocomplcache#util functions. 2012-09-30 17:09:49 +09:00
Shougo Matsushita
c07fdec557 - Vitalized. 2012-09-30 17:06:28 +09:00
Shougo Matsushita
cb51dd674d - Changed runtime directory. 2012-09-30 17:04:46 +09:00
Shougo Matsushita
2359481091 - Fixed initialization. 2012-09-28 00:42:34 +09:00