~ted/ubuntu/karmic/vim/add-breaks

« back to all changes in this revision

Viewing changes to runtime/doc/spell.txt

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-01-13 18:39:18 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090113183918-kgq1jzdwsbbex4pq
Tags: 2:7.2.079-1ubuntu1
* Resynchronise with Debian (diversions fix closes LP: #296324). Remaining
  changes:
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/debchangelog.vim:
    + Add "jaunty" to the list of valid suites.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*spell.txt*     For Vim version 7.2.  Last change: 2008 Jun 21
 
1
*spell.txt*     For Vim version 7.2.  Last change: 2008 Nov 30
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
831
831
 
832
832
        # comment line ~
833
833
 
834
 
With some items it's also possible to put a comment after it, but this isn't
835
 
supported in general.
 
834
Items with a fixed number of arguments can be followed by a comment.  But only
 
835
if none of the arguments can contain white space.  The comment must start with
 
836
a "#" character.  Example:
 
837
 
 
838
        KEEPCASE =  # fix case for words with this flag ~
836
839
 
837
840
 
838
841
ENCODING                                                        *spell-SET*
965
968
 
966
969
Note: When using utf-8 only characters up to 65000 may be used for flags.
967
970
 
 
971
Note: even when using "num" or "long" the number of flags available to
 
972
compounding and prefixes is limited to about 250.
 
973
 
968
974
 
969
975
AFFIXES
970
976
                                            *spell-PFX* *spell-SFX*
1178
1184
The flag also applies to the word with affixes, thus this can be used to mark
1179
1185
a whole bunch of related words as bad.
1180
1186
 
 
1187
                                                        *spell-FORBIDDENWORD*
 
1188
FORBIDDENWORD can be used just like BAD.  For compatibility with Hunspell.
 
1189
 
1181
1190
                                                        *spell-NEEDAFFIX*
1182
1191
The NEEDAFFIX flag is used to require that a word is used with an affix.  The
1183
1192
word itself is not a good word (unless there is an empty affix).  Example:
1268
1277
 
1269
1278
        NEEDCOMPOUND & ~
1270
1279
 
 
1280
                                                        *spell-ONLYINCOMPOUND*
 
1281
The ONLYINCOMPOUND does exactly the same as NEEDCOMPOUND.  Supported for
 
1282
compatiblity with Hunspell.
 
1283
 
1271
1284
                                                        *spell-COMPOUNDMIN*
1272
1285
The minimal character length of a word used for compounding is specified with
1273
1286
COMPOUNDMIN.  Example:
1328
1341
rules.  Can also be used for an affix to count the affix as a compounding
1329
1342
word.
1330
1343
 
 
1344
                                                *spell-CHECKCOMPOUNDPATTERN*
 
1345
CHECKCOMPOUNDPATTERN is used to define patterns that, when matching at the
 
1346
position where two words are compounded together forbids the compound.
 
1347
For example:
 
1348
        CHECKCOMPOUNDPATTERN o e ~
 
1349
 
 
1350
This forbids compounding if the first word ends in "o" and the second word
 
1351
starts with "e".
 
1352
 
 
1353
The arguments must be plain text, no patterns are actually supported, despite
 
1354
the item name.  Case is always ignored.
 
1355
 
 
1356
The Hunspell feature to use three arguments and flags is not supported.
 
1357
 
1331
1358
                                                        *spell-SYLLABLE*
1332
1359
The SYLLABLE item defines characters or character sequences that are used to
1333
1360
count the number of syllables in a word.  Example:
1496
1523
ACCENT          (Hunspell)                              *spell-ACCENT*
1497
1524
                Use MAP instead. |spell-MAP|
1498
1525
 
 
1526
BREAK           (Hunspell)                              *spell-BREAK*
 
1527
                Define break points.  Unclear how it works exactly.
 
1528
                Not supported.
 
1529
 
1499
1530
CHECKCOMPOUNDCASE  (Hunspell)                   *spell-CHECKCOMPOUNDCASE*
1500
1531
                Disallow uppercase letters at compound word boundaries.
1501
1532
                Not supported.
1512
1543
                Forbid three identical characters when compounding.  Not
1513
1544
                supported.
1514
1545
 
1515
 
CHECKCOMPOUNDPATTERN  (Hunspell)                *spell-CHECKCOMPOUNDPATTERN*
1516
 
                Forbid compounding when patterns match.  Not supported.
1517
 
 
1518
1546
COMPLEXPREFIXES  (Hunspell)                             *spell-COMPLEXPREFIXES*
1519
1547
                Enables using two prefixes.  Not supported.
1520
1548
 
1536
1564
COMPOUNDMIDDLE  (Hunspell)                              *spell-COMPOUNDMIDDLE*
1537
1565
                Use COMPOUNDRULE instead. |spell-COMPOUNDRULE|
1538
1566
 
 
1567
COMPOUNDRULES   (Hunspell)                              *spell-COMPOUNDRULES*
 
1568
                Number of COMPOUNDRULE lines following.  Ignored, but the
 
1569
                argument must be a number.
 
1570
 
1539
1571
COMPOUNDSYLLABLE  (Hunspell)                    *spell-COMPOUNDSYLLABLE*
1540
1572
                Use SYLLABLE and COMPOUNDSYLMAX instead. |spell-SYLLABLE|
1541
1573
                |spell-COMPOUNDSYLMAX|
1542
1574
 
1543
 
FORBIDDENWORD   (Hunspell)                              *spell-FORBIDDENWORD*
1544
 
                Use BAD instead. |spell-BAD|
1545
 
 
 
1575
KEY             (Hunspell)                              *spell-KEY*
 
1576
                Define characters that are close together on the keyboard.
 
1577
                Used to give better suggestions.  Not supported.
 
1578
                
1546
1579
LANG            (Hunspell)                              *spell-LANG*
1547
1580
                This specifies language-specific behavior.  This actually
1548
1581
                moves part of the language knowledge into the program,
1553
1586
                Only needed for morphological analysis.
1554
1587
 
1555
1588
MAXNGRAMSUGS    (Hunspell)                              *spell-MAXNGRAMSUGS*
1556
 
                Not supported.
1557
 
 
1558
 
ONLYINCOMPOUND  (Hunspell)                              *spell-ONLYINCOMPOUND*
1559
 
                Use NEEDCOMPOUND instead. |spell-NEEDCOMPOUND|
 
1589
                Set number of n-gram suggestions.  Not supported.
1560
1590
 
1561
1591
PSEUDOROOT      (Hunspell)                              *spell-PSEUDOROOT*
1562
1592
                Use NEEDAFFIX instead. |spell-NEEDAFFIX|