aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/develop.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r--runtime/doc/develop.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index adbe4eeeff..d7837dc2fe 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -159,6 +159,12 @@ DOCUMENTATION *dev-doc*
not "the user host terminal".
- Use "tui-" to prefix help tags related to the host terminal, and "TUI"
in prose if possible.
+- Rough guidelines on where Lua documentation should end up:
+ - Nvim API functions `vim.api.nvim_*` should be in `api.txt`.
+ - If the module is big and not relevant to generic and lower-level Lua
+ functionality, then it's a strong candidate for separation. Example:
+ `treesitter.txt`
+ - Otherwise, add them to `lua.txt`
Documentation format ~