mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
script: add diff between current script and version in repository
New options: - script.look.diff_command - script.look.diff_color Key alt-d has been changed to alt-v on script buffer (view script). Key alt-d is now used on detail of script to jump to diff (if diff is displayed).
This commit is contained in:
@@ -44,6 +44,7 @@ Keys on script buffer:
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%s %n %V %v %u | %d | %t"`)
|
||||
|
||||
* [[option_script.look.diff_color]] *script.look.diff_color*
|
||||
** Beschreibung: `colorize output of diff`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.look.diff_command]] *script.look.diff_command*
|
||||
** Beschreibung: `command used to show differences between script installed and the new version in repository ("auto" = auto detect diff command (git or diff), empty value = disable diff, other string = name of command, for example "diff")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"auto"`)
|
||||
|
||||
* [[option_script.look.display_source]] *script.look.display_source*
|
||||
** Beschreibung: `display source code of script on buffer with detail on a script (script is downloaded in a temporary file when detail on script is displayed)`
|
||||
** Typ: boolesch
|
||||
|
||||
@@ -44,6 +44,7 @@ Keys on script buffer:
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"%s %n %V %v %u | %d | %t"`)
|
||||
|
||||
* [[option_script.look.diff_color]] *script.look.diff_color*
|
||||
** description: `colorize output of diff`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_script.look.diff_command]] *script.look.diff_command*
|
||||
** description: `command used to show differences between script installed and the new version in repository ("auto" = auto detect diff command (git or diff), empty value = disable diff, other string = name of command, for example "diff")`
|
||||
** type: string
|
||||
** values: any string (default value: `"auto"`)
|
||||
|
||||
* [[option_script.look.display_source]] *script.look.display_source*
|
||||
** description: `display source code of script on buffer with detail on a script (script is downloaded in a temporary file when detail on script is displayed)`
|
||||
** type: boolean
|
||||
|
||||
@@ -44,6 +44,7 @@ Les touches sur le tampon des scripts:
|
||||
alt+L recharger le script
|
||||
alt+u décharger le script
|
||||
alt+h (dé)figer le script
|
||||
alt+v voir le script
|
||||
|
||||
Entrée autorisée sur le tampon des scripts:
|
||||
i/r/l/L/u/h action sur le script (identique aux touches ci-dessus)
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"%s %n %V %v %u | %d | %t"`)
|
||||
|
||||
* [[option_script.look.diff_color]] *script.look.diff_color*
|
||||
** description: `colorie la sortie du diff`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_script.look.diff_command]] *script.look.diff_command*
|
||||
** description: `commande utilisée pour montrer les différences entre le script installé et la nouvelle version dans le repository ("auto" = détecter automatiquement la commande de diff (git ou diff), valeur vide = désactiver le diff, autre chaîne = nom de la commande, par exemple "diff")`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"auto"`)
|
||||
|
||||
* [[option_script.look.display_source]] *script.look.display_source*
|
||||
** description: `afficher le code source du script sur le tampon avec le détail sur le script (le script est téléchargé dans un fichier temporaire lorsque le détail du script est affiché)`
|
||||
** type: booléen
|
||||
|
||||
@@ -44,6 +44,7 @@ Keys on script buffer:
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"%s %n %V %v %u | %d | %t"`)
|
||||
|
||||
* [[option_script.look.diff_color]] *script.look.diff_color*
|
||||
** descrizione: `colorize output of diff`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_script.look.diff_command]] *script.look.diff_command*
|
||||
** descrizione: `command used to show differences between script installed and the new version in repository ("auto" = auto detect diff command (git or diff), empty value = disable diff, other string = name of command, for example "diff")`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"auto"`)
|
||||
|
||||
* [[option_script.look.display_source]] *script.look.display_source*
|
||||
** descrizione: `display source code of script on buffer with detail on a script (script is downloaded in a temporary file when detail on script is displayed)`
|
||||
** tipo: bool
|
||||
|
||||
@@ -44,6 +44,7 @@ Keys on script buffer:
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
|
||||
@@ -133,6 +133,16 @@
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"%s %n %V %v %u | %d | %t"`)
|
||||
|
||||
* [[option_script.look.diff_color]] *script.look.diff_color*
|
||||
** 説明: `colorize output of diff`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_script.look.diff_command]] *script.look.diff_command*
|
||||
** 説明: `command used to show differences between script installed and the new version in repository ("auto" = auto detect diff command (git or diff), empty value = disable diff, other string = name of command, for example "diff")`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"auto"`)
|
||||
|
||||
* [[option_script.look.display_source]] *script.look.display_source*
|
||||
** 説明: `display source code of script on buffer with detail on a script (script is downloaded in a temporary file when detail on script is displayed)`
|
||||
** タイプ: ブール
|
||||
|
||||
Reference in New Issue
Block a user