Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provides a completion for "s/typo/correct"

NotificationsYou must be signed in to change notification settings

pSub/weechat-correction-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

Usage:

If you want to correct yourself, you often do this using theexpression 's/typo/correct'. This plugin allows you to complete thefirst part (the typo) by pressingTab. The words from the actualbuffer are used to complet this part. If the word can be perfectlymatched the next word in alphabetical order is shown.

The second part (the correction) can also be completed. Just pressTab after the slash and the best correction for the typo is fetched from aspell.If you pressTab again, it shows the next suggestion.The language used for suggestions can be set with the option

  plugins.var.python.correction_completion.lang

The aspell language pack must be installed for this language.

Setup:

Add the template %(correction_completion) to the default completion template.The best way to set the template is to use theiset-plugin,because you can see there the current value before changing it. Of course you can also use thestandard /set-command e.g.

  /set weechat.completion.default_template "%(nicks)|%(irc_channels)|%(correction_completion)"

About

Provides a completion for "s/typo/correct"

Topics

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp