My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 124: :VimwikiIndex not working, highlight group not found: Normal
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2010


Sign in to add a comment
 
Project Member Reported by goo...@JonnyJD.net, Sep 2, 2010
What steps will reproduce the problem?
1. vim
2. :VimwikiIndex

I get this error:
"~/vimwiki/index.wiki" 24L, 580C
Error detected while processing function vimwiki#setup_colors..vimwiki#get_hl_pa
ram:
line    2:
E411: highlight group not found: Normal
Press ENTER or type command to continue

After I press enter my index file opens and I see the file with no highlighting and no links working.
:set ft
gives filetype=vimwiki


What version of the product are you using? On what operating system?
vimwiki 1.1
on Arch Linux (I provide the package there)


Please provide any additional information below.

It doesnt' seem to make a difference what I have in index.wiki. I also get the error with an empty file.

There is a different way to get the error:
vim ~/vimwiki/index.wiki
produces the same error for some seconds, but then it vanishes and I see the working(!) index (with highlighting and links working).

This might be two different issues. The important one for me is :VimiwikiIndex not working.
Sep 2, 2010
Project Member #1 goo...@JonnyJD.net
The install routine in the package is as follows:

  install -d ${pkgdir}/usr/share/vim/vimfiles/{autoload,doc,ftplugin} \
    || return 1
  install -d ${pkgdir}/usr/share/vim/vimfiles/{plugin,syntax}/ \
    || return 1
  for x in {autoload,ftplugin,plugin,syntax}; do
    install -Dm644 ${srcdir}/$x/* \
      ${pkgdir}/usr/share/vim/vimfiles/$x/ \
      || return 1;
  done
  install -Dm644 ${srcdir}/license.txt \
    ${pkgdir}/usr/share/licenses/${pkgname}/license.txt \
    || return 1
  install -Dm644 ${srcdir}/doc/vimwiki.txt \
    ${pkgdir}/usr/share/vim/vimfiles/doc/ \
    || return 1;

This leads to these files being installed:
vim-vimwiki /usr/share/licenses/vim-vimwiki/license.txt
vim-vimwiki /usr/share/vim/vimfiles/autoload/vimwiki.vim
vim-vimwiki /usr/share/vim/vimfiles/autoload/vimwiki_diary.vim
vim-vimwiki /usr/share/vim/vimfiles/autoload/vimwiki_html.vim
vim-vimwiki /usr/share/vim/vimfiles/autoload/vimwiki_lst.vim
vim-vimwiki /usr/share/vim/vimfiles/autoload/vimwiki_tbl.vim
vim-vimwiki /usr/share/vim/vimfiles/doc/vimwiki.txt
vim-vimwiki /usr/share/vim/vimfiles/ftplugin/vimwiki.vim
vim-vimwiki /usr/share/vim/vimfiles/plugin/vimwiki.vim
vim-vimwiki /usr/share/vim/vimfiles/syntax/vimwiki.vim
vim-vimwiki /usr/share/vim/vimfiles/syntax/vimwiki_default.vim
vim-vimwiki /usr/share/vim/vimfiles/syntax/vimwiki_media.vim

I didn't change anything for 1.1. It worked fine with 1.0
Did I miss anything?
Sep 2, 2010
Project Member #2 habamax
What is your vim version? GUI or console?

What is the output of
:hi Normal
?
Sep 2, 2010
Project Member #3 goo...@JonnyJD.net
vim 7.2.436
console version

:hi Normal
E411: highlight group not found: Normal
Sep 2, 2010
Project Member #4 habamax
what colorscheme do you use?
Sep 2, 2010
Project Member #5 habamax
I can reproduce this bug. 
Thx.
Status: Started
Sep 2, 2010
Project Member #6 habamax
Could pls check if attached version is ok?
vimwiki-dev-2010-09-02.zip
53.8 KB   Download
Status: Fixed
Sep 2, 2010
Project Member #7 goo...@JonnyJD.net
I don't know much about vim colorschemes, but I found something similar:
https://wincent.com/issues/1513

Looks like Normal (or Cursor, like in the link) are not available in all colorschemes.

I am not setting a colorscheme directly, but I have some colors set for my terminal (rxvt-unicode), which sets vim accordingly, I think.

:colorscheme evening
(or others)
Is a workaround.
However there must be some portable way. I mean, everything worked fine in vimwiki 1.0 and before.
Sep 2, 2010
Project Member #8 goo...@JonnyJD.net
Ah. Thanks a lot. It's working now.
Sign in to add a comment

Powered by Google Project Hosting