Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

`:EnableChanges` throws E155 #7

Closed
mpfusion opened this Issue May 22, 2013 · 6 comments

2 participants

mpfusion chrisbra
mpfusion

Executing :DisableChanges followed by :EnableChanges results in

Error detected while processing function changes#GetDiff..<SNR>18_PlaceSigns:
line   10:
E155: Unknown sign: add
chrisbra chrisbra referenced this issue from a commit May 22, 2013
chrisbra Fix issue #7
plugin complains about undefined variable when using :DisableChanges.
Make sure, variables exists.

(Reported by mpfusion, thanks!)
7dd0e73
chrisbra
Owner
chrisbra chrisbra closed this May 22, 2013
mpfusion

The problem still persists. I used a clean .vimrc with no other plugins. Let me know if you can't reproduce, then I'll post my exact configuration.

chrisbra
Owner
mpfusion
git clone git://github.com/chrisbra/changesPlugin.git ~/.vim
cat > ~/.vimrc << EOF
set nocompatible
filetype off
let g:changes_autocmd=1
let g:changes_vcs_check=1
filetype plugin indent on
EOF
git init somedir; cd somedir
touch foo; git add foo;
echo 'foo'>foo; git commit -m 'init'
vi -c DisableChanges foo

Then in vim:

:EnableChanges

Error detected while processing function changes#GetDiff..<SNR>9_PlaceSigns:
line   10:
E155: Unknown sign: add

My vim:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 11 2013 10:57:57)
Included patches: 1-806
Compiled by marco@homerow
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff 
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi 
+file_in_path +find_in_path +float +folding -footer +fork() +gettext 
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall 
+linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname 
+mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm 
+mouse_sgr -mouse_sysmouse +mouse_urxvt +mouse_xterm +multi_byte +multi_lang 
-mzscheme +netbeans_intg +path_extra +perl +persistent_undo +postscript 
+printer +profile +python -python3 +quickfix +reltime +rightleft +ruby 
+scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop 
+syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
 +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual 
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup 
+X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save 
mpfusion

I just checked against Debian stock vim:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May  6 2013 03:22:52)
Included patches: 1-923
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by jamessan@debian.org

But it's the same error.

chrisbra chrisbra referenced this issue from a commit May 22, 2013
chrisbra Fixes issue #7
Make sure signs exist, before using them.
e6cb144
chrisbra
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.