Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
vim, spell check, smart quotes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Lott  
View profile  
 More options Oct 6 2012, 6:38 pm
From: Chris Lott <ch...@chrislott.org>
Date: Sat, 6 Oct 2012 14:38:05 -0800
Local: Sat, Oct 6 2012 6:38 pm
Subject: vim, spell check, smart quotes
Does anyone know how I can get spell check within Vim to handle
"smart" quotes (i.e. typographically correct ones) properly?

For instance, spell check in Vim doesn't flag a word like:
don't

but it does flag the smart quote version as incorrect:
don’t

c
--
Chris Lott <ch...@chrislott.org>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominique Pellé  
View profile  
 More options Oct 7 2012, 2:16 am
From: Dominique Pellé <dominique.pe...@gmail.com>
Date: Sun, 7 Oct 2012 08:15:30 +0200
Local: Sun, Oct 7 2012 2:15 am
Subject: Re: vim, spell check, smart quotes

Chris Lott <ch...@chrislott.org> wrote:
> Does anyone know how I can get spell check
> within Vim to handle  "smart" quotes (i.e.
> typographically correct ones) properly?

> For instance, spell check in Vim doesn't flag a word like:
> don't

> but it does flag the smart quote version as incorrect:
> don’t

In Hunspell, it is possible to make several characters
equivalent with the ICONV command. For example,
the following Hunspelll command in *.aff file replaces
the ASCII quote  U+0027 into U+2019 prior to probing
the dictionary so that don’t or don't are both accepted:

ICONV ’ '

But Vim does not process the ICONV Hunspell
directives when creating a Vim dictionary.

An alternative is to use the Vimchant plugin
so that Vim can then use Hunspell dictionaries
directly:

http://www.vim.org/scripts/script.php?script_id=2345

Or you can also use the LanguageTool plugin
which not only does grammar checking in Vim but
now also does spell checking (since LanguageTool
version 1.8) using either Hunspell of FSA (Finate
State Automaton http://stevehanov.ca/blog/index.php?id=115)
dictionaries:

http://www.vim.org/scripts/script.php?script_id=3223

-- Dominique


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »