diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2021-09-10 19:23:15 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2021-10-05 09:45:25 -0700 |
commit | 38ef66f4c151893f583a24918546b1e171b4458a (patch) | |
tree | 58acaf13358fa4bd63f3b2067b5a7785b7b47ee6 /src | |
parent | 49fdc62114a5f37def3ff60ca0c4d8638903ac24 (diff) | |
download | rneovim-38ef66f4c151893f583a24918546b1e171b4458a.tar.gz rneovim-38ef66f4c151893f583a24918546b1e171b4458a.tar.bz2 rneovim-38ef66f4c151893f583a24918546b1e171b4458a.zip |
fix(docs): duplicate tag, wrong formatting
Fixes build error:
cd /usr/home/build/neovim/build/runtime && /usr/local/bin/cmake -E remove doc/* && /usr/local/bin/cmake -E copy_directory /usr/home/build/neovim/runtime/doc doc && /usr/home/build/neovim/build/bin/nvim -u NONE -i NONE -e --headless -c helptags\ ++t\ doc -c quit
Error detected while processing command line:
E154: Duplicate tag "vim.register_keystroke_callback()" in file doc/lua.txt
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/vim.c | 2 | ||||
-rw-r--r-- | src/nvim/lua/vim.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index ce6e36c6f4..7a99ade579 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1358,7 +1358,7 @@ void nvim_set_current_tabpage(Tabpage tabpage, Error *err) } } -/// Creates a new *namespace*, or gets an existing one. +/// Creates a new \*namespace\*, or gets an existing one. /// /// Namespaces are used for buffer highlights and virtual text, see /// |nvim_buf_add_highlight()| and |nvim_buf_set_extmark()|. diff --git a/src/nvim/lua/vim.lua b/src/nvim/lua/vim.lua index 7a209f2d79..5ca4cc82a5 100644 --- a/src/nvim/lua/vim.lua +++ b/src/nvim/lua/vim.lua @@ -433,6 +433,7 @@ function vim.notify(msg, log_level, _opts) end +---@private function vim.register_keystroke_callback() error('vim.register_keystroke_callback is deprecated, instead use: vim.on_key') end |