[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 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
