Loading ...
Sorry, an error occurred while loading the content.

78158Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

Expand Messages
  • Alexander Farber
    Mar 1, 2007
      Hello Hugh,

      On 3/1/07, Hugh Sasse <hgs@...> wrote:
      > :scriptnames

      1: C:\Documents and Settings\afarber\.vimrc
      2: C:\Program Files\Vim\vim70\syntax\syntax.vim
      3: C:\Program Files\Vim\vim70\syntax\synload.vim
      4: C:\Program Files\Vim\vim70\syntax\syncolor.vim
      5: C:\Program Files\Vim\vim70\filetype.vim
      6: C:\Program Files\Vim\vim70\menu.vim
      7: C:\Program Files\Vim\vim70\autoload\paste.vim
      8: C:\Program Files\Vim\vim70\plugin\getscript.vim
      9: C:\Program Files\Vim\vim70\plugin\gzip.vim
      10: C:\Program Files\Vim\vim70\plugin\matchparen.vim
      11: C:\Program Files\Vim\vim70\plugin\netrwPlugin.vim
      12: C:\Program Files\Vim\vim70\plugin\rrhelper.vim
      13: C:\Program Files\Vim\vim70\plugin\spellfile.vim
      14: C:\Program Files\Vim\vim70\plugin\tarPlugin.vim
      15: C:\Program Files\Vim\vim70\plugin\tohtml.vim
      16: C:\Program Files\Vim\vim70\plugin\vimballPlugin.vim
      17: C:\Program Files\Vim\vim70\plugin\zipPlugin.vim
      18: C:\Program Files\Vim\vim70\syntax\actionscript.vim

      so ok, my ~/.vimrc is getting executed (I could also see
      that because all my other setting like font size do work)
      but then the highlight colors get overwritten by something
      (like Yakov told me several times).

      > And you might want to put the comment highlights in
      > %HOME%/vimfiles/after/syntax/something.vim

      Actually I edit .sh, .pl, .c, .h, .java and .as files
      and like to have similar colors (like inverted comments)
      everywhere. So probably this is not the best way?

      > :set runtimepath?

      runtimepath=~/vimfiles,C:\Program Files\Vim/vimfiles,C:\Program
      Files\Vim\vim70,C:\Program Files\Vim/vimfiles/after,~/vimfiles/after

      Regards
      Alex


      --
      http://preferans.de
    • Show all 18 messages in this topic