Commit Graph

518 Commits

Author SHA1 Message Date
Shougo Matsushita b4d50769c2 Fix #288 don't overwrite exists snippet 2015-08-23 14:49:33 +09:00
Shougo Matsushita 88d5efde15 Implement completed snippet feature 2015-08-22 06:36:11 +09:00
Shougo Matsushita 0760054560 Clear markers before save buffers 2015-08-16 07:07:40 +09:00
Shougo Matsushita a272ad16d1 Improve NeoSnippetClearMarkers behavior 2015-08-16 07:05:02 +09:00
Shougo Matsushita 58ac259dc5 Improve error messages 2015-08-15 09:24:37 +09:00
Shougo Matsushita 2c97d62503 Fix #279 add g:neosnippet#enable_conceal_markers 2015-06-23 21:51:14 +09:00
Shougo Matsushita 7c1d60f499 Remove g:neosnippet#enable_preview 2015-06-04 07:35:36 +09:00
Aaron Jensen ee9713f230 Use Data.String 2015-05-11 22:12:09 -07:00
Aaron Jensen 4fcaf4221f Upgrade vital, add Data.String 2015-05-11 22:11:55 -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
Shougo Matsushita 4fcc89017b Add honza snippets function for compatibility 2015-04-11 12:44:14 +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 23327c4379 Fix #257 remove <Plug>(neosnippet_expand_target) 2014-10-27 19:27:04 +09: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 c48dbf4077 Improve candidates filtering 2014-03-11 21:34:54 +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
Josh Matthews 94531f7081 Fixing typos in unite sources. 2014-02-09 21:39:54 -05: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 ff5c6e9bc1 Improve matchers for neocomplete 2014-01-05 23:09:54 +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
Shougo Matsushita eafef3c2d3 Rename snippet to neosnippet 2013-12-31 07:54:47 +09:00
Shougo Matsushita 3a2e43a934 Improve snippet source 2013-12-31 07:54:47 +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 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