Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such highlight group name: Cursor #275

Closed
Sinderella opened this issue Feb 6, 2016 · 3 comments
Closed

No such highlight group name: Cursor #275

Sinderella opened this issue Feb 6, 2016 · 3 comments

Comments

@Sinderella
Copy link

I'm new to easy motion, so I tried following your tutorial. easymotion-j and easymotion-k are working fine for me, but easymotion-overwin-f and easymotion-overwin-f2 are not. They give me the error below. It occurs when I enter the 2 characters that is in the text, didn't even get a chance to type in the label.

Error message

function EasyMotion#OverwinF..EasyMotion#overwin#move..<SNR>101_move..237..238..241..244, line 1:Vim(let):E28: No such highlight group name: Cursor
Error detected while processing function EasyMotion#OverwinF..EasyMotion#overwin#move..<SNR>101_move..237..238..241..245:
line    1:
E716: Key not present in Dictionary: highlight_id_cursor)
E116: Invalid arguments for function matchdelete
Error detected while processing function EasyMotion#OverwinF:
line    4:
E171: Missing :endif

My config (took from your tutorial)

let g:EasyMotion_do_mapping = 0 " Disable default mappings

" Jump to anywhere you want with minimal keystrokes, with just one key binding.
" `s{char}{label}`
nmap s <Plug>(easymotion-overwin-f)
" or
" `s{char}{char}{label}`
" Need one more keystroke, but on average, it may be more comfortable.
nmap s <Plug>(easymotion-overwin-f2)

" Turn on case insensitive feature
let g:EasyMotion_smartcase = 1

" JK motions: Line motions
map <Leader>j <Plug>(easymotion-j)
map <Leader>k <Plug>(easymotion-k)
@Sinderella
Copy link
Author

I don't know how I fixed it, it's just working .... strange.

@haya14busa haya14busa reopened this Feb 11, 2016
@haya14busa
Copy link
Member

Thank you for the report. I'll fix it

@haya14busa
Copy link
Member

I fixed it! If you can reproduce the problem, please try it again with updating the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants