Permalink
Browse files

- Fixed warning mappings.

  • Loading branch information...
1 parent cb674a5 commit 81ae06a06d2686ceceef535a420a087725e21d4c @Shougo committed May 21, 2012
Showing with 12 additions and 9 deletions.
  1. +3 −0 doc/neocomplcache.txt
  2. +9 −9 plugin/neocomplcache.vim
View
@@ -954,6 +954,9 @@ Todo
==============================================================================
CHANGELOG *neocomplcache-changelog*
+2012-05-21
+- Fixed warning mappings.
+
2012-05-20
- Fixed g:neocomplcache_enable_prefetch initialization.
- Added neocomplcache#complete_check().
View
@@ -1,7 +1,7 @@
"=============================================================================
" FILE: neocomplcache.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
-" Last Modified: 20 May 2012.
+" Last Modified: 21 May 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@@ -57,21 +57,21 @@ command! -nargs=1 -bar NeoComplCacheUnlockSource
\ call neocomplcache#unlock_source(<q-args>)
" Warning if using obsolute mappings."{{{
-inoremap <unique> <Plug>(neocomplcache_snippets_expand)
+silent! inoremap <unique> <Plug>(neocomplcache_snippets_expand)
\ <C-o>:echoerr <SID>print_snippets_complete_error()<CR>
-snoremap <unique> <Plug>(neocomplcache_snippets_expand)
+silent! snoremap <unique> <Plug>(neocomplcache_snippets_expand)
\ :<C-u>:echoerr <SID>print_snippets_complete_error()<CR>
-inoremap <unique> <Plug>(neocomplcache_snippets_jump)
+silent! inoremap <unique> <Plug>(neocomplcache_snippets_jump)
\ <C-o>:echoerr <SID>print_snippets_complete_error()<CR>
-snoremap <unique> <Plug>(neocomplcache_snippets_jump)
+silent! snoremap <unique> <Plug>(neocomplcache_snippets_jump)
\ :<C-u>:echoerr <SID>print_snippets_complete_error()<CR>
-inoremap <unique> <Plug>(neocomplcache_snippets_force_expand)
+silent! inoremap <unique> <Plug>(neocomplcache_snippets_force_expand)
\ <C-o>:echoerr <SID>print_snippets_complete_error()<CR>
-snoremap <unique> <Plug>(neocomplcache_snippets_force_expand)
+silent! snoremap <unique> <Plug>(neocomplcache_snippets_force_expand)
\ :<C-u>:echoerr <SID>print_snippets_complete_error()<CR>
-inoremap <unique> <Plug>(neocomplcache_snippets_force_jump)
+silent! inoremap <unique> <Plug>(neocomplcache_snippets_force_jump)
\ <C-o>:echoerr <SID>print_snippets_complete_error()<CR>
-snoremap <unique> <Plug>(neocomplcache_snippets_force_jump)
+silent! snoremap <unique> <Plug>(neocomplcache_snippets_force_jump)
\ :<C-u>:echoerr <SID>print_snippets_complete_error()<CR>
function! s:print_snippets_complete_error()
return 'Warning: neocomplcache snippets source was splitted!'

0 comments on commit 81ae06a

Please sign in to comment.