diff options
author | Maria José Solano <majosolano99@gmail.com> | 2025-01-13 19:51:09 -0800 |
---|---|---|
committer | Maria José Solano <majosolano99@gmail.com> | 2025-01-14 21:25:25 -0800 |
commit | 575f4bc7d5069792188520d1f0e5ed12cc035002 (patch) | |
tree | 3ef35ccdf402f674d5a4c6b8b31a55c50d8dc22d | |
parent | 09e01437c968be4c6e9f6bb3ac8811108c58008c (diff) | |
download | rneovim-575f4bc7d5069792188520d1f0e5ed12cc035002.tar.gz rneovim-575f4bc7d5069792188520d1f0e5ed12cc035002.tar.bz2 rneovim-575f4bc7d5069792188520d1f0e5ed12cc035002.zip |
docs: document namespace/augroup convention
-rw-r--r-- | runtime/doc/develop.txt | 9 |
1 files changed, 9 insertions, 0 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* |