1
0
Fork 0

Merge pull request #62 from ficoos/module_loaded

Change ModuleLoad to ModuleLoaded as per kakoune change
This commit is contained in:
Andrey Orst 2019-06-30 14:33:49 +03:00 committed by GitHub
commit 9180b69217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 14 deletions

View file

@ -109,7 +109,7 @@ is being used to create new windows.
**fzf.kak** features a lot of settings via options that can be altered to change **fzf.kak** features a lot of settings via options that can be altered to change
how **fzf.kak** behaves. All settings belong to `fzf` module, so in order to how **fzf.kak** behaves. All settings belong to `fzf` module, so in order to
change variable values use `defer "fzf %{ ... }"` if you're using **plug.kak**, change variable values use `defer "fzf %{ ... }"` if you're using **plug.kak**,
and if not, use `hook global ModuleLoad fzf %{ ... }`, or simply `require-module and if not, use `hook global ModuleLoaded fzf %{ ... }`, or simply `require-module
fzf` before configuring options. Same goes for `fzf_vcs` module. fzf` before configuring options. Same goes for `fzf_vcs` module.
From now on I assume that you're using one of the methods listed above for all From now on I assume that you're using one of the methods listed above for all

View file

@ -7,7 +7,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰───────────────────────────────────────╯ # ╰───────────────────────────────────────╯
hook global ModuleLoad fzf_vcs %§ hook global ModuleLoaded fzf_vcs %§
declare-option -docstring "command to provide list of files in GNU Bazaar repository to fzf. Arguments are supported declare-option -docstring "command to provide list of files in GNU Bazaar repository to fzf. Arguments are supported
Supported tools: Supported tools:

View file

@ -7,7 +7,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰───────────────────────────────────────╯ # ╰───────────────────────────────────────╯
hook global ModuleLoad fzf_vcs %§ hook global ModuleLoaded fzf_vcs %§
declare-option -docstring "command to provide list of files in git tree to fzf. Arguments are supported declare-option -docstring "command to provide list of files in git tree to fzf. Arguments are supported
Supported tools: Supported tools:

View file

@ -7,7 +7,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰──────────────────────────────────────╯ # ╰──────────────────────────────────────╯
hook global ModuleLoad fzf_vcs %§ hook global ModuleLoaded fzf_vcs %§
declare-option -docstring "command to provide list of files in mercurial repository to fzf. Arguments are supported declare-option -docstring "command to provide list of files in mercurial repository to fzf. Arguments are supported
Supported tools: Supported tools:

View file

@ -7,7 +7,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰───────────────────────────────────────╯ # ╰───────────────────────────────────────╯
hook global ModuleLoad fzf_vcs %§ hook global ModuleLoaded fzf_vcs %§
declare-option -docstring "command to provide list of files in svn repository to fzf. Arguments are supported declare-option -docstring "command to provide list of files in svn repository to fzf. Arguments are supported
Supported tools: Supported tools:

View file

@ -8,7 +8,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰──────────────────────────────────────╯ # ╰──────────────────────────────────────╯
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "open buffer" 'b' '<esc>: fzf-buffer<ret>' map global fzf -docstring "open buffer" 'b' '<esc>: fzf-buffer<ret>'

View file

@ -29,7 +29,7 @@ str cd_preview_cmd "tree -d {}"
declare-option -docstring 'maximum amount of previewed directories' \ declare-option -docstring 'maximum amount of previewed directories' \
int fzf_preview_dirs '300' int fzf_preview_dirs '300'
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "change directory" 'c' '<esc>: fzf-cd<ret>' map global fzf -docstring "change directory" 'c' '<esc>: fzf-cd<ret>'

View file

@ -11,7 +11,7 @@ declare-option -docstring "file that should be used by fzf-tag to provide tags.
Default value: tags" \ Default value: tags" \
str fzf_tag_file_name "tags" str fzf_tag_file_name "tags"
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "find tag" 't' '<esc>: fzf-tag<ret>' map global fzf -docstring "find tag" 't' '<esc>: fzf-tag<ret>'

View file

@ -24,7 +24,7 @@ Default arguments:
" \ " \
str fzf_file_command "find" str fzf_file_command "find"
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "open file" 'f' '<esc>: fzf-file<ret>' map global fzf -docstring "open file" 'f' '<esc>: fzf-file<ret>'

View file

@ -11,7 +11,7 @@
declare-option -docstring "file where saved projects are stored" str fzf_project_file "%val{config}/.fzf-projects" declare-option -docstring "file where saved projects are stored" str fzf_project_file "%val{config}/.fzf-projects"
declare-option -docstring %sh{ printf "%s\n" "use '~/' instead of '${HOME}'" } bool fzf_project_use_tilda false declare-option -docstring %sh{ printf "%s\n" "use '~/' instead of '${HOME}'" } bool fzf_project_use_tilda false
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "open project" 'p' '<esc>: fzf-project<ret>' map global fzf -docstring "open project" 'p' '<esc>: fzf-project<ret>'

View file

@ -8,7 +8,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰──────────────────────────────────────╯ # ╰──────────────────────────────────────╯
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "search in buffer" 's' '<esc>: fzf-buffer-search<ret>' map global fzf -docstring "search in buffer" 's' '<esc>: fzf-buffer-search<ret>'

View file

@ -9,7 +9,7 @@
# │ GitHub.com/andreyorst/fzf.kak │ # │ GitHub.com/andreyorst/fzf.kak │
# ╰──────────────────────────────────────╯ # ╰──────────────────────────────────────╯
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
map global fzf -docstring "edit file from vcs repo" 'v' '<esc>: require-module fzf_vcs; fzf-vcs<ret>' map global fzf -docstring "edit file from vcs repo" 'v' '<esc>: require-module fzf_vcs; fzf-vcs<ret>'
map global fzf -docstring "svitch to vcs selection mode" '<a-v>' '<esc>: fzf-vcs-mode<ret>' map global fzf -docstring "svitch to vcs selection mode" '<a-v>' '<esc>: fzf-vcs-mode<ret>'

View file

@ -10,7 +10,7 @@
# │ GitHub.com/alexherbo2/yank-ring.kak │ # │ GitHub.com/alexherbo2/yank-ring.kak │
# ╰─────────────────────────────────────╯ # ╰─────────────────────────────────────╯
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
# this will fail if yank-ring.kak isn't installed # this will fail if yank-ring.kak isn't installed
hook global -once WinCreate .* %{ try %{ hook global -once WinCreate .* %{ try %{

View file

@ -17,7 +17,7 @@ str fzf_sk_grep_command 'grep -RHn'
declare-option -hidden str fzf_sk_first_file '' declare-option -hidden str fzf_sk_first_file ''
hook global ModuleLoad fzf %§ hook global ModuleLoaded fzf %§
evaluate-commands %sh{ evaluate-commands %sh{
if [ -n "$(command -v sk)" ]; then if [ -n "$(command -v sk)" ]; then