aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-01-15 02:01:44 -0800
committerGitHub <noreply@github.com>2025-01-15 02:01:44 -0800
commit3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d (patch)
treea696adf2e1449b17d8ff8a44ecf83a90e78d5cea /runtime/doc
parent0a7e4e9e5f28f3b6b3c83040430d0a36fcd71fad (diff)
parent575f4bc7d5069792188520d1f0e5ed12cc035002 (diff)
downloadrneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.gz
rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.tar.bz2
rneovim-3ee63edc1b0ca6fe664c9d5368aba05ae9a22e9d.zip
Merge #32001 from MariaSolOs/consistent-namespaces
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/develop.txt9
-rw-r--r--runtime/doc/vim_diff.txt2
2 files changed, 10 insertions, 1 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index da64475465..1e4889747d 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -508,6 +508,15 @@ be a parameter (typically manifest as mutually-exclusive buf/win/… flags like
- Example: `nvim_buf_del_mark` acts on a `Buffer` object (the first parameter)
and uses the "del" {verb}.
+ *dev-namespace-name*
+Use namespace names like `nvim.foo.bar`: >
+ vim.api.nvim_create_namespace('nvim.lsp.codelens')
+<
+
+ *dev-augroup-name*
+Use autocommand group names like `nvim.foo.bar`: >
+ vim.api.nvim_create_augroup('nvim.treesitter.dev')
+<
INTERFACE PATTERNS *dev-api-patterns*
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index a59312208a..59c1c4b21c 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -122,7 +122,7 @@ fully disable the mouse or popup-menu, do any of the following:
<
To remove the default popup-menu without disabling mouse: >vim
aunmenu PopUp
- autocmd! nvim_popupmenu
+ autocmd! nvim.popupmenu
To remove only the "How-to disable mouse" menu item (and its separator): >vim
aunmenu PopUp.How-to\ disable\ mouse