diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-20 23:04:55 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-20 23:04:55 +0100 |
commit | fa845c2e7c731e998df2d754de97a292293b221e (patch) | |
tree | 1cc7fad6f6eaa642f47e890a77f61cb74d2d79af /doc/en/weechat_scripting.en.adoc | |
parent | b0c8f33dc152ed8aec1441acb2ed95d3cb472cf8 (diff) | |
download | weechat-fa845c2e7c731e998df2d754de97a292293b221e.zip |
doc: fix punctuation in lists
Diffstat (limited to 'doc/en/weechat_scripting.en.adoc')
-rw-r--r-- | doc/en/weechat_scripting.en.adoc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc index 73b034800..3e1af0c3c 100644 --- a/doc/en/weechat_scripting.en.adoc +++ b/doc/en/weechat_scripting.en.adoc @@ -43,19 +43,19 @@ other languages. ==== Python -* You have to `import weechat` +* You have to `import weechat`. * Functions `+print*+` are called `+prnt*+` in python (because _print_ is reserved - keyword) -* Functions are called with `weechat.xxx(arg1, arg2, ...)` + keyword). +* Functions are called with `weechat.xxx(arg1, arg2, ...)`. ==== Perl -* Functions are called with `weechat::xxx(arg1, arg2, ...);` +* Functions are called with `weechat::xxx(arg1, arg2, ...);`. ==== Ruby -* You have to define _weechat_init_ and call _register_ inside -* Functions are called with `Weechat.xxx(arg1, arg2, ...)` +* You have to define _weechat_init_ and call _register_ inside. +* Functions are called with `Weechat.xxx(arg1, arg2, ...)`. * Due to a limitation of Ruby (15 arguments max by function), the function `Weechat.config_new_option` receives the callbacks in an array of 6 strings (3 callbacks + 3 data strings), so a call to this function looks like: @@ -68,15 +68,15 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt ==== Lua -* Functions are called with `weechat.xxx(arg1, arg2, ...)` +* Functions are called with `weechat.xxx(arg1, arg2, ...)`. ==== Tcl -* Functions are called with `weechat::xxx arg1 arg2 ...` +* Functions are called with `weechat::xxx arg1 arg2 ...`. ==== Guile (scheme) -* Functions are called with `(weechat:xxx arg1 arg2 ...)` +* Functions are called with `(weechat:xxx arg1 arg2 ...)`. * Following functions take one list of arguments (instead of many arguments for other functions), because number of arguments exceed number of allowed arguments in Guile: @@ -86,7 +86,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt ==== Javascript -* Functions are called with `weechat.xxx(arg1, arg2, ...);` +* Functions are called with `weechat.xxx(arg1, arg2, ...);`. [[register_function]] === Register function |