Charles Campbell <[email protected]> [09-06-29 18:09]: > > [email protected] wrote: > > [email protected] <[email protected]> [09-06-29 04:47]: > > > >> Hi, > >> yesterday I found the "hicolor"-plugin by DrChip on www.vim.org. > >> As it is EXACTLY what I searched for, I installed it immediately. > >> I did a :h hicolor and managed to do one change in my colorscheme and > >> store this into a different file. > >> > >> After that any attempt to use hicolor ends up in a hickup: > >> As soon as I touch the area with colors after calling the color > >> editor, vim reports numerous errors, which differ from case to case. > >> Selecting colors and switching between background and foreground > >> fails sometimes. After the first attempt I never managed to save > >> a changed colorscheme again. > >> [snip] > >> > > These are some typical errors while trying to use hicolor: > > > > Error detected while processing function <SNR>78_HandleLeftMouse: > > line 9: > > E121: Undefined variable: s:keepline > > E15: Invalid expression: s:keepline > > line 10: > > E121: Undefined variable: s:keepline > > E15: Invalid expression: s:keepline > > Error detected while processing function > > <SNR>78_HandleLeftMouse..<SNR>78_SetColor: > > line 34: > > E121: Undefined variable: s:guispec > > E15: Invalid expression: "hi ".s:colorname." cterm=NONE".attrib." > > ctermfg=".s:fg." ctermbg=".s:bg." ".s:guispec > > line 37: > > E121: Undefined variable: hicmd > > E15: Invalid expression: hicmd > > Press ENTER or type command to continue > > > Hello, > > I found a bug in the hicolor plugin that let "font=..." slip through. > As the plugin should not be setting the font, I've fixed that. I'm not > sure if that caused your problem with s:keepline, etc, as I don't see > that. Those variable names mentioned in the error messages are defined > and used in ftplugin/hicolors.vim. I suggest getting version 9i of the > hicolor plugin > (http://mysite.verizon.net/astronaut/vim/index.html#HICOLORS) and > re-installing it. You might want to try generating a new test > colorscheme with it, too. > > Regards, > Chip Campbell
Hi DrChip :) Thanks for your superfast response and the bugfixing!!! :) Unfortunately I get the same response. I did the following: Download hicolor.vba.gz vim hicolor.vba.gz :so% ....blurb...already...: y<return> q!<return> vim :h hicolors RMClick on a color KABOOOM! ;) Messages: Error detected while processing function <SNR>78_HandleLeftMouse: line 9: E121: Undefined variable: s:keepline E15: Invalid expression: s:keepline line 10: E121: Undefined variable: s:keepline E15: Invalid expression: s:keepline Error detected while processing function <SNR>78_HandleLeftMouse..<SNR>78_SetColor : line 34: E121: Undefined variable: s:guispec E15: Invalid expression: "hi ".s:colorname." cterm=NONE".attrib." ctermfg=".s:fg." ctermbg=".s:bg." ".s:guispec line 37: E121: Undefined variable: hicmd E15: Invalid expression: hicmd Press ENTER or type command to continue What can I do to help fix ing this? The idea behind hicolors is GREAT and would help me A LOT not to handle cryptic hexadecimal coded colors again... Thank you very much in advance! Keep vim! Meino > > > -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
