vim-css-color icon indicating copy to clipboard operation
vim-css-color copied to clipboard

Erroring in java file

Open qxb3 opened this issue 3 years ago • 2 comments

Error:

Error detected while processing BufNewFile Autocommands for "*.java"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>6_SynSet[25]..script /data/data/com.
termux/files/usr/share/vim/vim90/syntax/java.vim[180]../data/data/com.termux/files/home/.vim/plugged/vim-css-color/after/syntax/html.vim[2]..function css_color#init[10]..css_color#
enable[15]..CursorMoved Autocommands for "<buffer=1>"..function <SNR>89_parse_screen[4]..<SNR>89_create_syn_match[20]..BufNewFile Autocommands for "*.java"..FileType Autocommands f
or "*"..Syntax Autocommands for "*"..function <SNR>6_SynSet[25]..script /data/data/com.termux/files/usr/share/vim/vim90/syntax/java.vim[180]../data/data/com.termux/files/home/.vim/
plugged/vim-css-color/after/syntax/html.vim[2]..function css_color#init[10]..css_color#enable[15]..CursorMoved Autocommands for "<buffer=1>"..function <SNR>89_parse_screen[4]..<SNR
>89_create_syn_match:
line   20:
E605: Exception not caught: css_color: create_syn_match invoked on bad match data

any idea how to fix it?

qxb3 avatar Aug 27 '22 04:08 qxb3

Strange. This looks similar to #174. Not sure what’s going on just yet.

ap avatar Aug 27 '22 11:08 ap

I getting the same error, first when i create a new .java file:

Error detected while processing BufNewFile Autocommands for "*.java"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>15_SynSet[25]..s cript C:/Program Files (x86)/Vim/vim90/syntax/java.vim[180]..C:/Users/linco/vimfiles/bundle/vim-css-color/after/syntax/html.vim[2]..function css_color#init[10]. .css_color#enable[15]..CursorMoved Autocommands for "<buffer=9>"..function <SNR>155_parse_screen[4]..<SNR>155_create_syn_match[20]..BufNewFile Autocommands for "*.java"..FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>15_SynSet[25]..script C:/Program Files (x86)/Vim/vim90/syntax/java.vim[180]. .C:/Users/linco/vimfiles/bundle/vim-css-color/after/syntax/html.vim[2]..function css_color#init[10]..css_color#enable[15]..CursorMoved Autocommands for "<buffer =9>"..function <SNR>155_parse_screen[4]..<SNR>155_create_syn_match: line 20: E605: Exception not caught: css_color: create_syn_match invoked on bad match data

and when i try to change an .java file too:

Error detected while processing CursorMoved Autocommands for "<buffer=8>"..function <SNR>155_parse_screen[4]..<SNR>155_create_syn_match[20]..CursorMoved Autocom mands for "<buffer=8>"..function <SNR>155_parse_screen[4]..<SNR>155_create_syn_match: line 20: E605: Exception not caught: css_color: create_syn_match invoked on bad match data

seems to happen only on java files.

lincolngondin avatar Aug 24 '23 23:08 lincolngondin