Re: ask Vim why the word under the cursor is misspelled

2023-05-17 Thread Adam Monsen
Bram Moolenaar wrote: > You can use spellbadword() for that. Oh, nice! I completely missed that. Works like a charm. \\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// > \\\help me help AIDS victims -- http://ICCF-Holland.org > /// > Good idea. Done. --

Re: ask Vim why the word under the cursor is misspelled

2023-05-17 Thread Bram Moolenaar
Adam Monsen wrote: > Is there a way to directly ask the Vim spell checker precisely why the word > under the cursor is misspelled? > > It took me a bit to figure out how it paints a blue background behind bare > words on a line because they are not capitalized. For example: > > foo > > I can

ask Vim why the word under the cursor is misspelled

2023-05-17 Thread Adam Monsen
Is there a way to directly ask the Vim spell checker precisely why the word under the cursor is misspelled? It took me a bit to figure out how it paints a blue background behind bare words on a line because they are not capitalized. For example: foo I can figure it out pretty easily from the