Timeline for How to selectively turn specific highlight group on and off from vim session?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 3, 2019 at 18:10 | comment | added | 3N4N | I can't remember but there is a way you should be able to know what the highlight group of the word under cursor and then you can store the current highlight of that group in a temp global variable. Then use hi clear and when done, turn it back on with the stored variable. I can't do it myself now, I'm in phone. Sorry. | |
Apr 3, 2019 at 17:35 | history | edited | Cbhihe | CC BY-SA 4.0 |
rephrased the question to make it less specialized.
|
Apr 3, 2019 at 17:24 | comment | added | Cbhihe | @klaus, Ralf : tx but oops, wasn't thinking this morning. My question was a bit more general than the spell-checking example though. See my edit which clarifies it. | |
Apr 3, 2019 at 13:53 | answer | added | D. Ben Knoble♦ | timeline score: 1 | |
Apr 3, 2019 at 10:39 | comment | added | 3N4N |
Just use set spell!
|
|
Apr 3, 2019 at 9:45 | comment | added | Ralf |
Do you have set spell in your vimrc ? If yes, remove it. If no, you can check who set spell by executing :verbose set spell? .
|
|
Apr 3, 2019 at 9:41 | history | edited | Cbhihe | CC BY-SA 4.0 |
added 181 characters in body
|
Apr 3, 2019 at 9:35 | history | asked | Cbhihe | CC BY-SA 4.0 |