Skip to content

Commit

Permalink
task: auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 28, 2024
1 parent 2d80081 commit 41951c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/langmapper.txt
Original file line number Diff line number Diff line change
@@ -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*
Expand Down Expand Up @@ -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,
},
Expand Down Expand Up @@ -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 <https://github.com/Wansmer/langmapper.nvim/issues/8>)
`nvim-cmp` (see #8 <https://github.com/Wansmer/langmapper.nvim/issues/8>)

**Usage:**

Expand Down

0 comments on commit 41951c0

Please sign in to comment.