joshdick / onedark.vim

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflict with itchyny/vim-cursorword

416207298 opened this issue · comments

Terminal Emulator Info

Window terminal

Output From vim --version

vim  8.2.5105

Issue Description

When switching to another file using Nerdtree or LeaderF, the effect of vim-cursorword is disappeared. It only worked when first opening a file.

Do you have this issue with any other colorschemes? Have you tried loading vim-cursorword after onedark.vim in your Vim configuration?

Yes. Recently I use gruvbox and I found it has the same issue. I don't know why.

I found this issue is not related to a certain color scheme. But came out after executing an autocmd which I used to switch color scheme when writing different language: autocmd Filetype cpp,c :colorscheme onedark.

But why...

It might be worth reopening the bug you opened and then closed on itchyny/vim-cursorword related to this issue, with the additional context about also seeing this issue with gruvbox: itchyny/vim-cursorword#32

As far as I can tell, this is not a problem with onedark.vim, so I'm going to close this issue, but feel free to keep the conversation going!