Questions tagged [spell-checking]

A feature that identifies and highlights misspelled words, and lets you choose among possible correct replacements.

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
110 views

Count only words for which Spell is enabled?

I want to count the words in my buffers, but for TeX files, for instance, a lot of words (e.g., commands) shouldn't be counted. I'm aware that there are scripts that do this specifically for LaTeX, ...
4
votes
0answers
220 views

Disable spell check for single character words

I haven't found a way to disable spell checking for single character "words", like when you type 100k (k as in thousand) and it gets highlighted as a mistake. I already tried this: syn match ...
4
votes
0answers
734 views

Vim is taking a really long time to open spelling suggestions

I have recently reinstalled vim and I noticed that the Spell checking is working very slowly. Whenever I do a z= on an incorrectly spelled word, Vim takes a good 4-5 seconds to show the spelling ...
3
votes
0answers
52 views

How to disable spell check inside code blocks in markdown?

Code blocks (fenced with ` or ```) are bound to have words not correctly spelled and spell check warnings often get in the way of syntax highlighting. I still want spell check enabled for the rest of ...
2
votes
0answers
32 views

How to disable American spellchecking in vim, and switch purely to British?

I tried :set spell spelllang=en_gb in my vim, but I noticed that summarization is not highlighted as incorrect. Shouldn't it be wrong? How to fix this problem?
2
votes
0answers
373 views

Make spell check recognize Swedish compound words

In Swedish, you make compound words by just adding words together right after each other without a space in between as in English. You can make almost any combination, e.g. "staff matters" is "...
2
votes
0answers
54 views

LaTeX tabu package breaks Vim spell and syntax highlighting

The first line of this section of LaTeX code breaks syntax highlighting and spell check whenever I scroll to the area of the document that contains it: \begin{tabu} {*3{X[l$]}} col1 & col2 ...
2
votes
0answers
173 views

Autocorrect spelling mistakes using Google?

I found an automation script written in AutoHotKey very inspiring. It relies on the search result from Google to correct the wrongly spelled words. The script: ; Ctrl+Alt+c autocorrect selected text ...
1
vote
1answer
408 views

Does anyone know how to highlight spelling errors?

While using gVim on my Windows 10 machine at work, I discovered and started using the amazing spell checker when writing markdown. In gVim, misspelled words are underlined with the red squiggly ...
1
vote
0answers
36 views

XML syntax folding and custom tag spell checking

I have the following in my ~/vim/syntax/xrc.vim to spell check contents of specific tags when editing XRC files that are just XML files with predefined schema: runtime syntax/xml.vim " check ...
1
vote
1answer
198 views

Cannot remove spelling error highlight from lowercase "vim"

The word "vim" is flagged as a spelling error in my documents. If I capitalize it, the error goes away. I don't want to capitalize "vim". Adding it to dictionary with zG or zg does not help. UPDATE ...
1
vote
0answers
112 views

Ignore acronyms as spelling errors in TeX files

My LaTeX files contain lots of acronyms and they are often highlighted as spelling errors. I tried to ignore acronyms by adding syn match AcronymNoSpell '\<\(\u\|\d\)\{3,}s\?\>' contains=@...
1
vote
0answers
198 views

Spell checking beginning of phrase capital letters

How can I change vim's spell checking, so that it does not mark words with capital letters, which were previously unknown to vim, but were added to a custom dictionary in lower case form, at the ...
0
votes
0answers
23 views

Ignore spell check for LaTeX commands with multiple arguments

I have read through a lot of the posts on spell checking LaTeX syntax - here, here, and here. I am sure the problem is my lack of regex understanding, but I am having trouble configuring it so that ...
0
votes
0answers
23 views

How to make vim show suggest current word in spellchecking suggestiong if current word is correct?

I often write code, and sometimes I check comments with z= when I am not sure of a spelling of some word. Vim then presents a list of suggestions. However, when I got the spelling right and the word ...
0
votes
0answers
8 views

Add global spell ignore words

I'm editing a wiki and it uses atleast two languages. Vim has no problem, as it allows multiple languages in spellcheck. Problem is, some wiki templates, and html-like mediawiki tags are often words ...
0
votes
0answers
13 views

Characters in spellcheck words

I write a lot of documents in LaTeX. Often, I like to add people's names to my spell check dictionary in order to simplify the spellcheck. However, sometimes the names I want to add include accents or ...
0
votes
0answers
131 views

Vim spellcheck does not highlight/select misspelt text which is emphasized or strongly emphasized in Markdown

I have noticed that vim spellcheck does not highlight/select text which is emphasized (i.e., italicized) or strongly emphasized (i.e., bold) in markdown. For example, The wuick brown fox jumps over ...
0
votes
0answers
32 views

How to exclude git commit hash (7-char long hex string) from spelling?

I use neovim as editor for git. Especially when rebasing it is hard to focus on the important things because the spell check highlights the commit hashes. Therefore I'm trying to exclude the 7-char ...
0
votes
0answers
45 views

How to create a new Vim 8.0 spelling dictionary?

I'm using Vim 8.0 along with it's excellent spelling feature to check text documents for errors. I need create a custom spelling dictionary by copying the en_us dictionary and modifying it. The ...
0
votes
0answers
67 views

Vulgarities in the vim Default Dictionary

I use Vim to write LaTeX, in particular professional, academic papers. I rely on the default vim dictionary (in /usr/local/share/vim/vim81/spell/en.utf-8.spl). I recently noticed a vulgarity (...