itchyny / vim-cursorword

Underlines the word under the cursor
http://www.vim.org/scripts/script.php?script_id=5100
MIT License
611 stars 36 forks source link

Cursor word lose effect after switch to other files #32

Closed 416207298 closed 2 years ago

416207298 commented 2 years ago

My environment is Ubuntu20.04/ vim8.2.5105.

It's worked fine when start-up, but after I switch to another file by using Nerdtree or LeaderF, it has no cursorline at all! Only when I type whatever a colorscheme use command like: :colorscheme onedark, it works again...

What is the cause of that?

416207298 commented 2 years ago

I also found that whenever I type command: :e, it will lose effect, too.

416207298 commented 2 years ago

The truth is it related to the color theme: onedark. The problem is gone when I changed to PaperColor.