≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1513

Bug #1513: Error in CommandTShow function when opening CommandT for first time.

Kind bug
Product Command-T
When Created 2010-03-24T07:18:53Z, updated 2010-03-25T10:37:58Z
Status closed
Reporter anonymous
Tags no tags

Description

When i run from command line

$ vim

and then run CommandT i get this error:

Error detected while processing function <SNR>7_CommandTShow:
line 2:
E411: highlight group not found: Cursor

This error is shown only the first time i run CommandT.

Comments

  1. Greg Hurrell 2010-03-24T09:48:23Z

    Ok, thanks for that.

    I was working on the incorrect assumption that the "Cursor" highlight group was defined for all color schemes but evidently it's not.

    I'll add a check for that.

  2. Greg Hurrell 2010-03-24T16:11:09Z

    Should be fixed now. Will mark this ticket as closed.

    Just out of interest though, if you happen to come back to this ticket, can you add a comment clarifying whether you have syntax highlighting turned on? Or if you are using some kind of color scheme without the Cursor highlight group defined? I am still curious as to what the exact characteristics are which can provoke the error.

  3. Greg Hurrell 2010-03-24T16:11:15Z

    Status changed:

    • From: new
    • To: closed
  4. anonymous 2010-03-25T05:11:37Z

    Hi,

    this error happened when i tested it on a fresh (i removed my .vimrc and .vim directory and installed only CommnadT) vim. This error didn't show when i tested it with my normal .vimrc and .vim directory. After that everything is working fine, only the moving in the list with cursor keys is not working (when i press up or down it will close the CommandT window. This happens in vim, but in gvim even the cursor keys are working.), only Ctrl-j and Ctrl-k can be used for moving in the list. This is my .vimrc file:

    syntax on
    colorscheme ir_black
    set expandtab
    set tabstop=4
    set shiftwidth=4
    set hlsearch
    set incsearch
    
    filetype plugin on
    set ofu=syntaxcomplete#Complete
    

    If you need more info i can respond through this ticket.

  5. Greg Hurrell 2010-03-25T07:34:04Z

    Ok, thanks for the extra info. Did you test it with the latest release (0.3)?

    In that one I'm using silent! so that even if there is an error (ie. no Cursor highlight group found) it shouldn't print any error message.

    As for the cursor key thing, not sure what the cause might be. The mappings are set up using a standard VIM names for mappings like:

    • <C-n>
    • <C-p>
    • <C-j>
    • <C-k>
    • <Down>
    • <Up>

    So if one of them works I would expect all of them to. Probably something specific to your terminal I suspect.

  6. anonymous 2010-03-25T10:37:58Z

    Hi,

    i tested the newest version (0.3) and everything works fine. Thanks.

    I will look more into the arrow keys problem and report back if i find something.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets