summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-12-05 18:03:29 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-12-05 21:39:28 +0100
commit1c0d8f5fd3318303dada29e33a9936f518d52966 (patch)
tree497cc53513486f401b34fea4a940384426eb2d80 /doc/en
parent160ffe8e11452a415f5e42916be4d369926fbc2b (diff)
downloadweechat-1c0d8f5fd3318303dada29e33a9936f518d52966.zip
doc: add section "WeeChat extension" above "Plugins" (user's guide)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_user.en.adoc17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index eadae84a9..c6178ca0e 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -4843,8 +4843,18 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=trigger_options]
+[[extension]]
+== WeeChat extension
+
+WeeChat has a modular design and can be extended with plugins and scripts.
+
+It's important to make difference between a _plugin_ and a _script_: a
+_plugin_ is a binary file compiled and loaded with command `/plugin`, whereas
+a _script_ is a text file loaded with a plugin like _python_ with command
+`/python`.
+
[[plugins]]
-== Plugins
+=== Plugins
A plugin is a dynamic library, written in C and compiled, which is loaded by
WeeChat.
@@ -4853,11 +4863,6 @@ Under GNU/Linux, the file has ".so" extension, ".dll" under Windows.
Plugins found are automatically loaded when WeeChat is starting, and it is
possible to load or unload plugins while WeeChat is running.
-It's important to make difference between a _plugin_ and a _script_: a
-_plugin_ is a binary file compiled and loaded with command `/plugin`, whereas
-a _script_ is a text file loaded with a plugin like _python_ with command
-`/python`.
-
You can use command `/plugin` to load/unload a plugin, or list all loaded
plugins.