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

Doesn't highlight any misspelled words #63

Closed
yokoyama-flogics opened this issue Jun 13, 2021 · 3 comments
Closed

Doesn't highlight any misspelled words #63

yokoyama-flogics opened this issue Jun 13, 2021 · 3 comments

Comments

@yokoyama-flogics
Copy link

Hello,

Thank you for the great software.
I'm using this for (not-supported yet?) Python, and I'm pretty satisfied.

I had a problem that spelunker.vim doesn't highlight any misspelled words in the buffer.
Even I explicitly specified the followings in .vimrc, the specified highlights are ignored.

highlight SpelunkerSpellBad cterm=underline ctermfg=247 gui=underline guifg=#9e9e9e
highlight SpelunkerComplexOrCompoundWord cterm=underline ctermfg=NONE gui=underline guifg=NONE

When I executed the command :highlight in the editor, I saw the followings.

SpelunkerSpellBad xxx cleared
SpelunkerComplexOrCompoundWord xxx cleared

After some struggles, I finally resolved the problem by changing the above to the followings, by referring this site.

autocmd ColorScheme *
    \ highlight SpelunkerSpellBad cterm=underline ctermfg=247 gui=underline guifg=#9e9e9e |
    \ highlight SpelunkerComplexOrCompoundWord cterm=underline ctermfg=NONE gui=underline guifg=NONE

My Vim version is 8.2 and which was installed by homebrew macvim to macOS 10.15.7.

I could resolve the problem, but I'm curious to know if this occurs only for me.

Regards,
Atsushi

@KSR-Yasuda
Copy link

I experiences the same issue.

So, created a patch to reset the highlighting on every spellcheck turning on (#70).

With this patch, I think it goes well with spellcheck turning off and on again, at least.

Probably someone is killing the SpelunkerSpellBad highlight unexpectedly,
but I have no idea what is the root cause.

@yokoyama-flogics
Copy link
Author

Hello,

Thank you for the confirmation of the issue, and the patch!!

The spelunker.vim is a must tool for me, and recommending to my colleagues.

Regards,
Atsushi

@Mochitto
Copy link

Hey there! I've had the same problem and sadly the patch doesn't seem to work (building from your project).
@yokoyama-flogics work-around/fix seems to work for now... Hopefully the maintainers can take a look at this issue again and consider the patch :)

Thank you both for providing some solutions, I find this tool very useful.

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

3 participants