odeke-em / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Spell check for autoconf files (configure.ac) checks whole file, not just comments #305

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Doing "set spell" on a configure.ac file seems to check the entire file, rather 
than just limiting itself to checking the comments and quoted strings.

Original issue reported on code.google.com by khym.cha...@gmail.com on 28 Dec 2014 at 7:58

GoogleCodeExporter commented 9 years ago
This is using Vim 7.4 under Fedora 21

Original comment by khym.cha...@gmail.com on 28 Dec 2014 at 8:04

GoogleCodeExporter commented 9 years ago
Please take this to the maintainer of the config.vim syntax file. When he fixed 
that issue, he will send an updated syntax file to Bram for inclusion with Vim. 
You'll find the contact address in the syntax file.

Original comment by chrisbr...@googlemail.com on 28 Dec 2014 at 9:59

GoogleCodeExporter commented 9 years ago
Here is a patch that mostly fixes the problem, at least for me.  Strings 
delimited by [] which are passed to macros like AC_HELP_STRING and AC_MSG_ERROR 
still aren't checked.

Original comment by khym.cha...@gmail.com on 28 Dec 2014 at 10:40

Attachments:

GoogleCodeExporter commented 9 years ago
I'll include the patch, also for the AC_MSG* regions.

Original comment by brammool...@gmail.com on 14 Jan 2015 at 4:57