doc: move spell chapter after scripts in user's guide
parent
4ef149b591
commit
a10769f0f8
|
@ -2194,117 +2194,6 @@ Sektionen in Datei _alias.conf_:
|
|||
/set alias.completion.* | Vervollständigung für Alias.
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Mit der Spell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat.
|
||||
Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen.
|
||||
|
||||
Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem
|
||||
Tastenbefehl [Alt+s] umgeschaltet werden.
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Wörterbücher
|
||||
|
||||
Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden,
|
||||
welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen.
|
||||
|
||||
Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann
|
||||
die Wörter mit allen Wörterbüchern ab,
|
||||
|
||||
Um zum Beispiel Englisch und Deutsch zu nutzen:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,de"
|
||||
----
|
||||
|
||||
Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum
|
||||
Beispiel in einem französischen Channel:
|
||||
|
||||
----
|
||||
/spell setdict fr
|
||||
----
|
||||
|
||||
Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das
|
||||
deutsche Wörterbuch für alle Channels auf dem freenode IRC Server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode de
|
||||
----
|
||||
|
||||
Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Optionen für Rechtschreibprüfung
|
||||
|
||||
Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende
|
||||
Option in die Sektion "option" der Aspell-Konfiguration hinzufügt.
|
||||
|
||||
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
|
||||
möglichen Optionen erhält man durch:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Um zum Beispiel die Option "ignore-case" einzuschalten:
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Rechtschreibkorrektur
|
||||
|
||||
Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt.
|
||||
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
|
||||
_spell.check.suggestions_ bestimmt werden.
|
||||
|
||||
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _spell.check.suggestions_
|
||||
ein Wert ≥ 0 eingestellt werden und das Bar-Item "spell_suggest" zu einer Bar, zum
|
||||
Beispiel _status_, hinzufügt werden.
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
|
||||
│[@Flashy] diehs █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Befehle
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Optionen
|
||||
|
||||
Sektionen in Datei _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Sektion | Steuerbefehl | Beschreibung
|
||||
| color | /set spell.color.* | Farben.
|
||||
| check | /set spell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
| look | /set spell.look.* | Erscheinungsbild.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
|===
|
||||
|
||||
Optionen:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3592,6 +3481,117 @@ Optionen:
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Mit der Spell Erweiterung findet eine Rechtschreibprüfung Einzug in WeeChat.
|
||||
Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen.
|
||||
|
||||
Die Rechtschreibprüfung ist standardmäßig deaktiviert und kann mittels dem
|
||||
Tastenbefehl [Alt+s] umgeschaltet werden.
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Wörterbücher
|
||||
|
||||
Um die Rechtschreibprüfung nutzen zu können muss vorab ein Wörterbuch definiert werden,
|
||||
welches genutzt werden soll. Dies kann entweder global oder per Buffer geschehen.
|
||||
|
||||
Verschiedene Wörterbücher können parallel verwendet werden. WeeChat gleicht dann
|
||||
die Wörter mit allen Wörterbüchern ab,
|
||||
|
||||
Um zum Beispiel Englisch und Deutsch zu nutzen:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,de"
|
||||
----
|
||||
|
||||
Es ist möglich ein anderes Wörterbuch für einen speziellen Buffer zu verwenden, zum
|
||||
Beispiel in einem französischen Channel:
|
||||
|
||||
----
|
||||
/spell setdict fr
|
||||
----
|
||||
|
||||
Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das
|
||||
deutsche Wörterbuch für alle Channels auf dem freenode IRC Server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode de
|
||||
----
|
||||
|
||||
Für weitere Informationen, siehe den Befehl <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Optionen für Rechtschreibprüfung
|
||||
|
||||
Optionen für die Rechtschreibprüfung können definiert werden indem man die entsprechende
|
||||
Option in die Sektion "option" der Aspell-Konfiguration hinzufügt.
|
||||
|
||||
Den Name der Option findet man in der ASpell-Konfigurationsdatei. Eine Auflistung aller
|
||||
möglichen Optionen erhält man durch:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Um zum Beispiel die Option "ignore-case" einzuschalten:
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Rechtschreibkorrektur
|
||||
|
||||
Eine Rechtschreibkorrektur wird in der Bar-Item "spell_suggest" angezeigt.
|
||||
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
|
||||
_spell.check.suggestions_ bestimmt werden.
|
||||
|
||||
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option _spell.check.suggestions_
|
||||
ein Wert ≥ 0 eingestellt werden und das Bar-Item "spell_suggest" zu einer Bar, zum
|
||||
Beispiel _status_, hinzufügt werden.
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
|
||||
│[@Flashy] diehs █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Befehle
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Optionen
|
||||
|
||||
Sektionen in Datei _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Sektion | Steuerbefehl | Beschreibung
|
||||
| color | /set spell.color.* | Farben.
|
||||
| check | /set spell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
| look | /set spell.look.* | Erscheinungsbild.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
|===
|
||||
|
||||
Optionen:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
||||
|
|
|
@ -2147,114 +2147,6 @@ Sections in file _alias.conf_:
|
|||
/set alias.completion.* | Completions for aliases.
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Spell plugin lets you check spelling in command line. It is possible to use
|
||||
many languages by buffer.
|
||||
|
||||
Spell checking is disabled by default and can be toggled with key kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionaries
|
||||
|
||||
Before using spell checking, dictionaries must be defined, either globally or
|
||||
specific to buffers.
|
||||
|
||||
Multiple dictionaries can be used at same time: WeeChat will check words in all
|
||||
dictionaries.
|
||||
|
||||
For example to use English and French:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
It is possible to use a different dictionary on a specific buffer, for example
|
||||
on a German channel:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
You can also specify a dictionary for a group of buffers, for example English
|
||||
for all channels on freenode IRC server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
For more information, see the command <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Speller options
|
||||
|
||||
Speller options can be defined by adding options in section "option" of aspell
|
||||
configuration.
|
||||
|
||||
The option name is an aspell configuration option. List of options can be found
|
||||
in a shell with following command:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
For example, to enable option "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Suggestions are displayed in a bar item called "spell_suggest". The number of
|
||||
suggestions is set in option _spell.check.suggestions_.
|
||||
|
||||
To enable suggestions you must set option _spell.check.suggestions_ to an
|
||||
integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_.
|
||||
|
||||
Example of suggestions with English dictionary (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Commands
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Options
|
||||
|
||||
Sections in file _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Control command | Description
|
||||
| color | /set spell.color.* | Colors.
|
||||
| check | /set spell.check.* | Options to control spell checking.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
|
||||
| look | /set spell.look.* | Look and feel.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Speller options>> (options can be added/removed in section).
|
||||
|===
|
||||
|
||||
Options:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3511,6 +3403,114 @@ Options:
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Spell plugin lets you check spelling in command line. It is possible to use
|
||||
many languages by buffer.
|
||||
|
||||
Spell checking is disabled by default and can be toggled with key kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionaries
|
||||
|
||||
Before using spell checking, dictionaries must be defined, either globally or
|
||||
specific to buffers.
|
||||
|
||||
Multiple dictionaries can be used at same time: WeeChat will check words in all
|
||||
dictionaries.
|
||||
|
||||
For example to use English and French:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
It is possible to use a different dictionary on a specific buffer, for example
|
||||
on a German channel:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
You can also specify a dictionary for a group of buffers, for example English
|
||||
for all channels on freenode IRC server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
For more information, see the command <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Speller options
|
||||
|
||||
Speller options can be defined by adding options in section "option" of aspell
|
||||
configuration.
|
||||
|
||||
The option name is an aspell configuration option. List of options can be found
|
||||
in a shell with following command:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
For example, to enable option "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Suggestions are displayed in a bar item called "spell_suggest". The number of
|
||||
suggestions is set in option _spell.check.suggestions_.
|
||||
|
||||
To enable suggestions you must set option _spell.check.suggestions_ to an
|
||||
integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_.
|
||||
|
||||
Example of suggestions with English dictionary (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Commands
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Options
|
||||
|
||||
Sections in file _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Control command | Description
|
||||
| color | /set spell.color.* | Colors.
|
||||
| check | /set spell.check.* | Options to control spell checking.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
|
||||
| look | /set spell.look.* | Look and feel.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Speller options>> (options can be added/removed in section).
|
||||
|===
|
||||
|
||||
Options:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
||||
|
|
|
@ -2219,116 +2219,6 @@ Sections dans le fichier _alias.conf_ :
|
|||
/set alias.completion.* | Complétions pour les alias.
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
L'extension Spell permet de vérifier l'orthographe de la ligne de commande.
|
||||
Il est possible d'utiliser plusieurs langages par tampon.
|
||||
|
||||
La vérification de l'orthographe est désactivée par défaut et peut être
|
||||
activée/désactivée avec la touche kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionnaires
|
||||
|
||||
Avant d'utiliser la vérification de l'orthographe, les dictionnaires doivent
|
||||
être définis soit globalement, soit spécifiquement sur un tampon.
|
||||
|
||||
Plusieurs dictionnaires peuvent être utilisés en même temps : WeeChat vérifiera
|
||||
les mots dans tous les dictionnaires.
|
||||
|
||||
Par exemple pour utiliser l'anglais et le français :
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
Il est possible d'utiliser un dictionnaire différent sur un tampon spécifique,
|
||||
par exemple sur un canal allemand :
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
Vous pouvez aussi spécifier un dictionnaire pour un groupe de tampons, par
|
||||
exemple l'anglais pour tous les canaux du serveur IRC freenode :
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
Pour plus d'informations, voir la commande <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Options du vérificateur d'orthographe
|
||||
|
||||
Les options du vérificateur d'orthographe peuvent être définies en ajoutant des
|
||||
options dans la section "option" de la configuration aspell.
|
||||
|
||||
Le nom de l'option est une option de configuration aspell. La liste des options
|
||||
peut être trouvée par la commande suivante sous le shell :
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Par exemple, pour activer l'option "ignore-case" :
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Les suggestions sont affichées dans un objet de barre appelé "spell_suggest".
|
||||
Le nombre de suggestions est défini dans l'option _spell.check.suggestions_.
|
||||
|
||||
Pour activer les suggestions, vous devez modifier l'option
|
||||
_spell.check.suggestions_ avec un entier ≥ 0 et ajouter l'objet de barre
|
||||
"spell_suggest" à une barre, par exemple _status_.
|
||||
|
||||
Exemple de suggestions avec un dictionnaire anglais (`en`) :
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) :
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Commandes
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Options
|
||||
|
||||
Sections dans le fichier _spell.conf_ :
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Commande de contrôle | Description
|
||||
| color | /set spell.color.* | Couleurs.
|
||||
| check | /set spell.check.* | Options pour contrôler la vérification orthographique.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionnaires utilisés par tampon (les options peuvent être ajoutées/supprimées dans la section).
|
||||
| look | /set spell.look.* | Aspect/présentation.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Options du vérificateur d'orthographe>> (les options peuvent être ajoutées/supprimées dans la section).
|
||||
|===
|
||||
|
||||
Options :
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3624,6 +3514,116 @@ Options :
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
L'extension Spell permet de vérifier l'orthographe de la ligne de commande.
|
||||
Il est possible d'utiliser plusieurs langages par tampon.
|
||||
|
||||
La vérification de l'orthographe est désactivée par défaut et peut être
|
||||
activée/désactivée avec la touche kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionnaires
|
||||
|
||||
Avant d'utiliser la vérification de l'orthographe, les dictionnaires doivent
|
||||
être définis soit globalement, soit spécifiquement sur un tampon.
|
||||
|
||||
Plusieurs dictionnaires peuvent être utilisés en même temps : WeeChat vérifiera
|
||||
les mots dans tous les dictionnaires.
|
||||
|
||||
Par exemple pour utiliser l'anglais et le français :
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
Il est possible d'utiliser un dictionnaire différent sur un tampon spécifique,
|
||||
par exemple sur un canal allemand :
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
Vous pouvez aussi spécifier un dictionnaire pour un groupe de tampons, par
|
||||
exemple l'anglais pour tous les canaux du serveur IRC freenode :
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
Pour plus d'informations, voir la commande <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Options du vérificateur d'orthographe
|
||||
|
||||
Les options du vérificateur d'orthographe peuvent être définies en ajoutant des
|
||||
options dans la section "option" de la configuration aspell.
|
||||
|
||||
Le nom de l'option est une option de configuration aspell. La liste des options
|
||||
peut être trouvée par la commande suivante sous le shell :
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Par exemple, pour activer l'option "ignore-case" :
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Les suggestions sont affichées dans un objet de barre appelé "spell_suggest".
|
||||
Le nombre de suggestions est défini dans l'option _spell.check.suggestions_.
|
||||
|
||||
Pour activer les suggestions, vous devez modifier l'option
|
||||
_spell.check.suggestions_ avec un entier ≥ 0 et ajouter l'objet de barre
|
||||
"spell_suggest" à une barre, par exemple _status_.
|
||||
|
||||
Exemple de suggestions avec un dictionnaire anglais (`en`) :
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) :
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Commandes
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Options
|
||||
|
||||
Sections dans le fichier _spell.conf_ :
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Commande de contrôle | Description
|
||||
| color | /set spell.color.* | Couleurs.
|
||||
| check | /set spell.check.* | Options pour contrôler la vérification orthographique.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionnaires utilisés par tampon (les options peuvent être ajoutées/supprimées dans la section).
|
||||
| look | /set spell.look.* | Aspect/présentation.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Options du vérificateur d'orthographe>> (les options peuvent être ajoutées/supprimées dans la section).
|
||||
|===
|
||||
|
||||
Options :
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
||||
|
|
|
@ -2285,121 +2285,6 @@ Sections in file _alias.conf_:
|
|||
/set alias.completion.* | Completions for aliases.
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Il plugin Spell consente di verificare l'ortografia nella riga di comando.
|
||||
È possibile utilizzare più lingue per buffer.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Spell checking is disabled by default and can be toggled with key kbd:[Alt+s].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionaries
|
||||
|
||||
Before using spell checking, dictionaries must be defined, either globally or
|
||||
specific to buffers.
|
||||
|
||||
Multiple dictionaries can be used at same time: WeeChat will check words in all
|
||||
dictionaries.
|
||||
|
||||
For example to use English and French:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
It is possible to use a different dictionary on a specific buffer, for example
|
||||
on a German channel:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also specify a dictionary for a group of buffers, for example English
|
||||
for all channels on freenode IRC server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
For more information, see the command <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Opzioni ortografiche
|
||||
|
||||
Le opzioni ortografiche possono essere definite aggiungendo opzioni nella
|
||||
sezione "opzioni" della configurazione di aspell.
|
||||
|
||||
Il nome dell'opzione è un parametro di configurazione per aspell. L'elenco
|
||||
delle opzioni disponibili può essere trovato nel terminale col seguente comando:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Ad esempio, per abilitare l'opzione "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Suggestions are displayed in a bar item called "spell_suggest". The number of
|
||||
suggestions is set in option _spell.check.suggestions_.
|
||||
|
||||
To enable suggestions you must set option _spell.check.suggestions_ to an
|
||||
integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_.
|
||||
|
||||
Example of suggestions with English dictionary (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Comandi
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Opzioni
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Sections in file _spell.conf_:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Control command | Description
|
||||
| color | /set spell.color.* | Colors.
|
||||
| check | /set spell.check.* | Options to control spell checking.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
|
||||
| look | /set spell.look.* | Look and feel.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Opzioni ortografiche>> (options can be added/removed in section).
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Options:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3773,6 +3658,121 @@ Options:
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Il plugin Spell consente di verificare l'ortografia nella riga di comando.
|
||||
È possibile utilizzare più lingue per buffer.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Spell checking is disabled by default and can be toggled with key kbd:[Alt+s].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[spell_dictionaries]]
|
||||
==== Dictionaries
|
||||
|
||||
Before using spell checking, dictionaries must be defined, either globally or
|
||||
specific to buffers.
|
||||
|
||||
Multiple dictionaries can be used at same time: WeeChat will check words in all
|
||||
dictionaries.
|
||||
|
||||
For example to use English and French:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
It is possible to use a different dictionary on a specific buffer, for example
|
||||
on a German channel:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also specify a dictionary for a group of buffers, for example English
|
||||
for all channels on freenode IRC server:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
For more information, see the command <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Opzioni ortografiche
|
||||
|
||||
Le opzioni ortografiche possono essere definite aggiungendo opzioni nella
|
||||
sezione "opzioni" della configurazione di aspell.
|
||||
|
||||
Il nome dell'opzione è un parametro di configurazione per aspell. L'elenco
|
||||
delle opzioni disponibili può essere trovato nel terminale col seguente comando:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Ad esempio, per abilitare l'opzione "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[spell_suggestions]]
|
||||
==== Suggestions
|
||||
|
||||
Suggestions are displayed in a bar item called "spell_suggest". The number of
|
||||
suggestions is set in option _spell.check.suggestions_.
|
||||
|
||||
To enable suggestions you must set option _spell.check.suggestions_ to an
|
||||
integer ≥ 0 and add the bar item "spell_suggest" to a bar, like _status_.
|
||||
|
||||
Example of suggestions with English dictionary (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Comandi
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Opzioni
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Sections in file _spell.conf_:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Control command | Description
|
||||
| color | /set spell.color.* | Colors.
|
||||
| check | /set spell.check.* | Options to control spell checking.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
|
||||
| look | /set spell.look.* | Look and feel.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Opzioni ortografiche>> (options can be added/removed in section).
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Options:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
|
|
@ -2148,112 +2148,6 @@ _alias.conf_ ファイル内のセクション:
|
|||
/set alias.completion.* | 別名に割り当てた補完
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Spell
|
||||
プラグインを使うことで、コマンドラインに入力した文字列のスペルチェックができます。バッファごとに異なる言語に対するスペルチェックを実行できます。
|
||||
|
||||
スペルチェック機能はデフォルトで無効化されています。kbd:[Alt+s] で有効無効を切り替える事が可能です。
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== 辞書
|
||||
|
||||
スペルチェック機能を使う前に、すべてのバッファまたは特定のバッファに対して辞書を定義しなければいけません。
|
||||
|
||||
同時に複数の辞書を使用可能です:
|
||||
WeeChat はすべての辞書を使って単語をチェックします。
|
||||
|
||||
英語とフランス語の辞書を使う例:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
特定のバッファで使用する辞書を定義することも可能です。ドイツ語のチャンネルでドイツ語の辞書を使う例:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
バッファグループに対して特定の辞書を指定することも可能です。freenode
|
||||
IRC サーバに対して英語の辞書を使う例:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
詳しい情報はコマンド <<command_spell_spell,/spell>> を参照してください。
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Speller オプション
|
||||
|
||||
Speller オプションは aspell 設定の "option"
|
||||
セクションにあるオプションを追加して定義します。
|
||||
|
||||
ここで利用するオプション名は aspell
|
||||
設定オプションと同じものです。オプションのリストはシェルで以下のコマンドを実行することで確認できます:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
例えば、"ignore-case" オプションを有効化するには:
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== 修正候補
|
||||
|
||||
"spell_suggest" バー要素内に修正候補が表示されます。修正候補の数は
|
||||
_spell.check.suggestions_ オプションで設定します。
|
||||
|
||||
修正候補を利用するには、_spell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_
|
||||
バーなどに "spell_suggest" バー要素を追加してください。
|
||||
|
||||
英語辞書 (`en`) を用いた修正候補の例:
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
英語とフランス語辞書 (`en,fr`) を用いた修正候補の例:
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== コマンド
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== オプション
|
||||
|
||||
_spell.conf_ ファイル内のセクション:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| セクション | 操作コマンド | 説明
|
||||
| color | /set spell.color.* | 色
|
||||
| check | /set spell.check.* | スペルチェックの操作コマンド
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | バッファが利用するディレクトリ (オプションをセクションに追加/削除出来ます)
|
||||
| look | /set spell.look.* | 外観
|
||||
| option | /set spell.option.* | <<spell_speller_options,Speller オプション>> (オプションをセクションに追加/削除出来ます)
|
||||
|===
|
||||
|
||||
オプション:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3506,6 +3400,112 @@ _php.conf_ ファイル内のセクション:
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Spell
|
||||
プラグインを使うことで、コマンドラインに入力した文字列のスペルチェックができます。バッファごとに異なる言語に対するスペルチェックを実行できます。
|
||||
|
||||
スペルチェック機能はデフォルトで無効化されています。kbd:[Alt+s] で有効無効を切り替える事が可能です。
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== 辞書
|
||||
|
||||
スペルチェック機能を使う前に、すべてのバッファまたは特定のバッファに対して辞書を定義しなければいけません。
|
||||
|
||||
同時に複数の辞書を使用可能です:
|
||||
WeeChat はすべての辞書を使って単語をチェックします。
|
||||
|
||||
英語とフランス語の辞書を使う例:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
特定のバッファで使用する辞書を定義することも可能です。ドイツ語のチャンネルでドイツ語の辞書を使う例:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
バッファグループに対して特定の辞書を指定することも可能です。freenode
|
||||
IRC サーバに対して英語の辞書を使う例:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
詳しい情報はコマンド <<command_spell_spell,/spell>> を参照してください。
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Speller オプション
|
||||
|
||||
Speller オプションは aspell 設定の "option"
|
||||
セクションにあるオプションを追加して定義します。
|
||||
|
||||
ここで利用するオプション名は aspell
|
||||
設定オプションと同じものです。オプションのリストはシェルで以下のコマンドを実行することで確認できます:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
例えば、"ignore-case" オプションを有効化するには:
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== 修正候補
|
||||
|
||||
"spell_suggest" バー要素内に修正候補が表示されます。修正候補の数は
|
||||
_spell.check.suggestions_ オプションで設定します。
|
||||
|
||||
修正候補を利用するには、_spell.check.suggestions_ オプションをゼロ以上の整数に設定し、_status_
|
||||
バーなどに "spell_suggest" バー要素を追加してください。
|
||||
|
||||
英語辞書 (`en`) を用いた修正候補の例:
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
英語とフランス語辞書 (`en,fr`) を用いた修正候補の例:
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== コマンド
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== オプション
|
||||
|
||||
_spell.conf_ ファイル内のセクション:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| セクション | 操作コマンド | 説明
|
||||
| color | /set spell.color.* | 色
|
||||
| check | /set spell.check.* | スペルチェックの操作コマンド
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | バッファが利用するディレクトリ (オプションをセクションに追加/削除出来ます)
|
||||
| look | /set spell.look.* | 外観
|
||||
| option | /set spell.option.* | <<spell_speller_options,Speller オプション>> (オプションをセクションに追加/削除出来ます)
|
||||
|===
|
||||
|
||||
オプション:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
||||
|
|
|
@ -2161,114 +2161,6 @@ Ssekcje w pliku _alias.conf_:
|
|||
/set alias.completion.* | Completions for aliases.
|
||||
|===
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Wtyczka spell pozwala na sprawdzanie pisowni w linii poleceń. Możliwe jest
|
||||
ustawienie wielu języków dla bufora.
|
||||
|
||||
Sprawdzenie pisowni jest domyślnie wyłączone i możę być przełączone za pomocą kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Słowniki
|
||||
|
||||
Przed użyciem sprawdzania pisowni należy zdefiniować słowniki można to zrobić
|
||||
zarówno globalnie jak i dla poszczególnych buforów.
|
||||
|
||||
Możliwe jest użycie kilku słowników równocześnie: WeeChat sprawdzi słowa we wszystkich
|
||||
słownikach.
|
||||
|
||||
Na przykład dla angielskiego i francuskiego:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
Możliwe jest użycie innego słownika dla konkretnego buforu, na przykład na kanale
|
||||
niemieckojęzycnzym:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
Możesz również ustawić słownik dla grupy buforów, na przykład angielski dla
|
||||
wsystkich kanałów na serwerze IRC freenode:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
Więcej informacji można znaleźć w opisie komendy <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Opcje słowników
|
||||
|
||||
Opcje słowników mogą zostać zdefiniowane poprzez dodanie opcji w sekcji "option"
|
||||
dla konfiguracji aspell.
|
||||
|
||||
Nazwa opcji to nazwa opcji konfiguracyjnej aspell. Listę opcji można uzyskać
|
||||
wykonując w powłoce następującą komendę:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Na przykład, aby włączyć opcję "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Sugestie
|
||||
|
||||
Sugestie są wyświetlane w elemencie paska "spell_suggest". Ilość wyświetlanych
|
||||
sugestii można ustawić za pomocą opcji _spell.check.suggestions_.
|
||||
|
||||
Aby włączyć sugestie trzeba ustawić opcję _spell.check.suggestions_ na liczbę
|
||||
≥ 0 i dodać element "spell_suggest" do jakiegoś paska, jak _status_.
|
||||
|
||||
Przykład sugestii z angielskim słownikiem (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Przykład sugestii ze słownikami angielskim i francuskim (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Komendy
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Opcje
|
||||
|
||||
Sekcje w pliku _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Sekcja | Komenda | Opis
|
||||
| color | /set spell.color.* | Kolory.
|
||||
| check | /set spell.check.* | Opcje do kontrolowania sprawdzania pisowni.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Słowniki używane w buforze (opcje w tej sekcji mogą być dodawane/usuwane).
|
||||
| look | /set spell.look.* | Wygląd.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Opcje słowników>> (opcje w tej sekcji mogą być dodawane/usuwane).
|
||||
|===
|
||||
|
||||
Opcje:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist
|
||||
|
||||
|
@ -3540,6 +3432,114 @@ Opcje:
|
|||
|
||||
include::autogen/user/php_options.adoc[]
|
||||
|
||||
[[spell_plugin]]
|
||||
=== Spell
|
||||
|
||||
Wtyczka spell pozwala na sprawdzanie pisowni w linii poleceń. Możliwe jest
|
||||
ustawienie wielu języków dla bufora.
|
||||
|
||||
Sprawdzenie pisowni jest domyślnie wyłączone i możę być przełączone za pomocą kbd:[Alt+s].
|
||||
|
||||
[[spell_dictionaries]]
|
||||
==== Słowniki
|
||||
|
||||
Przed użyciem sprawdzania pisowni należy zdefiniować słowniki można to zrobić
|
||||
zarówno globalnie jak i dla poszczególnych buforów.
|
||||
|
||||
Możliwe jest użycie kilku słowników równocześnie: WeeChat sprawdzi słowa we wszystkich
|
||||
słownikach.
|
||||
|
||||
Na przykład dla angielskiego i francuskiego:
|
||||
|
||||
----
|
||||
/set spell.check.default_dict "en,fr"
|
||||
----
|
||||
|
||||
Możliwe jest użycie innego słownika dla konkretnego buforu, na przykład na kanale
|
||||
niemieckojęzycnzym:
|
||||
|
||||
----
|
||||
/spell setdict de
|
||||
----
|
||||
|
||||
Możesz również ustawić słownik dla grupy buforów, na przykład angielski dla
|
||||
wsystkich kanałów na serwerze IRC freenode:
|
||||
|
||||
----
|
||||
/set spell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
Więcej informacji można znaleźć w opisie komendy <<command_spell_spell,/spell>>.
|
||||
|
||||
[[spell_speller_options]]
|
||||
==== Opcje słowników
|
||||
|
||||
Opcje słowników mogą zostać zdefiniowane poprzez dodanie opcji w sekcji "option"
|
||||
dla konfiguracji aspell.
|
||||
|
||||
Nazwa opcji to nazwa opcji konfiguracyjnej aspell. Listę opcji można uzyskać
|
||||
wykonując w powłoce następującą komendę:
|
||||
|
||||
----
|
||||
$ aspell config
|
||||
----
|
||||
|
||||
Na przykład, aby włączyć opcję "ignore-case":
|
||||
|
||||
----
|
||||
/set spell.option.ignore-case "true"
|
||||
----
|
||||
|
||||
[[spell_suggestions]]
|
||||
==== Sugestie
|
||||
|
||||
Sugestie są wyświetlane w elemencie paska "spell_suggest". Ilość wyświetlanych
|
||||
sugestii można ustawić za pomocą opcji _spell.check.suggestions_.
|
||||
|
||||
Aby włączyć sugestie trzeba ustawić opcję _spell.check.suggestions_ na liczbę
|
||||
≥ 0 i dodać element "spell_suggest" do jakiegoś paska, jak _status_.
|
||||
|
||||
Przykład sugestii z angielskim słownikiem (`en`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
Przykład sugestii ze słownikami angielskim i francuskim (`en,fr`):
|
||||
|
||||
....
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[spell_commands]]
|
||||
==== Komendy
|
||||
|
||||
include::autogen/user/spell_commands.adoc[]
|
||||
|
||||
[[spell_options]]
|
||||
==== Opcje
|
||||
|
||||
Sekcje w pliku _spell.conf_:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Sekcja | Komenda | Opis
|
||||
| color | /set spell.color.* | Kolory.
|
||||
| check | /set spell.check.* | Opcje do kontrolowania sprawdzania pisowni.
|
||||
| dict | <<command_spell_spell,/spell setdict>> +
|
||||
/set spell.dict.* | Słowniki używane w buforze (opcje w tej sekcji mogą być dodawane/usuwane).
|
||||
| look | /set spell.look.* | Wygląd.
|
||||
| option | /set spell.option.* | <<spell_speller_options,Opcje słowników>> (opcje w tej sekcji mogą być dodawane/usuwane).
|
||||
|===
|
||||
|
||||
Opcje:
|
||||
|
||||
include::autogen/user/spell_options.adoc[]
|
||||
|
||||
[[trigger_plugin]]
|
||||
=== Trigger
|
||||
|
||||
|
|
Loading…
Reference in New Issue