Commit Graph

288 Commits

Author SHA1 Message Date
Aaron Jensen
ee9713f230 Use Data.String 2015-05-11 22:12:09 -07:00
Shougo Matsushita
48689a972d Fix #273 check modifiable in :NeoSnippetClearMarkers 2015-05-04 16:26:59 +09:00
Shougo Matsushita
526b31253e Don't use \v patterns 2015-05-04 16:26:33 +09:00
wuranbo
455193d750 *feature) 添加uppercase函数。 2015-04-10 17:07:46 +08:00
Shougo Matsushita
18e7aadc91 Fix sudo check 2015-01-13 23:12:17 +09:00
bluehavana
03e044871d Replace XDG_CACHE_DIR with XDG_CACHE_HOME
per http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2014-11-17 16:48:12 -08:00
Shougo Matsushita
4734238921 Fix #252 improve optional placeholder behavior 2014-10-14 20:52:34 +09:00
Shougo Matsushita
58a8296b2a Remove backticks 2014-09-10 02:24:42 +09:00
Shougo Matsushita
292df943a0 Fix #243 improve expand target behavior 2014-07-30 20:20:47 +09:00
Shougo Matsushita
b898dd9a9b Fix #237 expand trigger problem 2014-07-30 20:19:09 +09:00
Shougo Matsushita
01d17aa885 Remove iminsert reset 2014-07-15 19:08:09 +09:00
Shougo Matsushita
d981b8aee7 Fix #169 support for multiple filetypes 2014-07-09 22:41:11 +09:00
Shougo Matsushita
c871e0f84b Fix for vimlint 2014-07-01 08:05:07 +09:00
Shougo Matsushita
8d61e62a65 Fix #239 $XDG_CACHE_DIR 2014-06-27 22:06:42 +09:00
Shougo Matsushita
6d475877bf Fix #237 expand trigger problem 2014-06-16 19:33:58 +09:00
Shougo Matsushita
58a203c5dd Fix #235 improve clear_select_mode_mappings behavior 2014-06-11 21:50:37 +09:00
Jacob Niehus
31ffdd6808 Escape ampersand in mirror text 2014-05-12 21:39:57 -07:00
Shougo Matsushita
d02aafcbdd Fix neosnippet parser error 2014-05-13 08:23:49 +09:00
Shougo Matsushita
8b504f2dd8 Implement cache feature 2014-05-11 17:56:27 +09:00
Shougo Matsushita
e8b1af724b Improve snippets parser 2014-05-11 17:46:20 +09:00
Shougo Matsushita
a7c05372ba Remove autodate 2014-03-29 11:39:44 +09:00
Shougo Matsushita
5090af586c Fix #218 add g:neosnippet#expand_word_boundary 2014-03-11 21:28:47 +09:00
Shougo Matsushita
bc2d1772a2 Fix #212 indentation behavior 2014-02-15 11:00:28 +09:00
Shougo Matsushita
7502b06be0 Update vital 2014-02-15 10:54:15 +09:00
Shougo Matsushita
cf1211c242 Fix :NeoSnippetClearMarkers behavior 2014-01-20 00:13:32 +09:00
Shougo Matsushita
6b3a670b5a Fix error 2014-01-11 16:35:29 +09:00
Shougo Matsushita
5dba6a034e Version 4.1 Fatal: split default snippets repository 2014-01-11 16:29:00 +09:00
Shougo Matsushita
dcf2d8518c Improve snipMate compatibility 2014-01-11 05:53:46 +09:00
Shougo Matsushita
001b7c65bf Improve make cache behavior 2014-01-02 08:53:01 +09:00
ujihisa
4f36f44726 bugfix: call() splats arguments that you didn't want. (fixes #203) 2014-01-01 01:27:00 -08:00
ujihisa
e27b72e119 bugfix: neosnippet isn't unite (fixes #203) 2014-01-01 00:57:22 -08:00
Shougo Matsushita
bc7969afb2 Fix #203 add g:neosnippet#scope_aliases 2014-01-01 11:00:43 +09:00
Shougo Matsushita
622a691785 Improve snippet initialization 2014-01-01 10:22:03 +09:00
ujihisa
4fc33adfd5 closes #202 bugfix: & does not get replaced by itself 2013-12-30 14:28:40 -08:00
Shougo Matsushita
29d6a0b4c9 Change runtime snippets directory 2013-12-28 20:20:15 +09:00
Shougo Matsushita
e5b90773b2 Delete InsertLeave event 2013-12-25 22:04:02 +09:00
Shougo Matsushita
38a24ec1db Fix #199 add :NeoSnippetClearMarkers command 2013-12-25 21:56:56 +09:00
Shougo Matsushita
f657404c22 Improve java snippet 2013-12-21 15:08:08 +09:00
Shougo Matsushita
909c2c9fdb Fix C++ snippets 2013-12-19 19:02:11 +09:00
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