From 41951c0bbb8907848aac446193a69c8d5009fabf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 28 Mar 2024 06:38:03 +0000 Subject: [PATCH] task: auto-generate vimdoc --- doc/langmapper.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/langmapper.txt b/doc/langmapper.txt index 8928ba3..a516fb2 100644 --- a/doc/langmapper.txt +++ b/doc/langmapper.txt @@ -1,4 +1,4 @@ -*langmapper.txt* For Neovim >= 0.8.0 Last change: 2023 July 31 +*langmapper.txt* For Neovim >= 0.8.0 Last change: 2024 March 28 ============================================================================== Table of Contents *langmapper-table-of-contents* @@ -147,7 +147,7 @@ Show default config ~ local cmd = 'im-select' if vim.fn.executable(cmd) then local output = vim.split(vim.trim(vim.fn.system(cmd)), '\n') - return output[output] + return output[#output] end end, }, @@ -350,12 +350,12 @@ as is. HACK_GET_KEYMAP() ~ -Hack `get_keymap` functions. See `:h nvim_set_keymap()` and `:h -nvim_buf_set_keymap()`. +Hack `get_keymap` functions. See |nvim_set_keymap()| and +|nvim_buf_set_keymap()|. After this hack, `nvim_set_keymap/nvim_buf_set_keymap` will return **only** latin mappings (without translated mappings). Very useful for work with -`nvim-cmp` (see 8 ) +`nvim-cmp` (see #8 ) **Usage:**