diff options
author | Jongwook Choi <wookayin@gmail.com> | 2024-01-11 12:24:44 -0500 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-01-14 11:08:33 +0000 |
commit | 2cdea852e8934beb89012f2127f333e4dd8aada8 (patch) | |
tree | 8fd28930a5439775d736d75aedd81f9ecd13dc4a /src | |
parent | ce4ea638c703275aedadb3794efc56dcb782c908 (diff) | |
download | rneovim-2cdea852e8934beb89012f2127f333e4dd8aada8.tar.gz rneovim-2cdea852e8934beb89012f2127f333e4dd8aada8.tar.bz2 rneovim-2cdea852e8934beb89012f2127f333e4dd8aada8.zip |
docs: auto-generate docs for `vim.lpeg` and `vim.re`
- Add section `VIM.LPEG` and `VIM.RE` to docs/lua.txt.
- Add `_meta/re.lua` which adds luadoc and type annotations, for the
vendored `vim.re` package.
- Fix minor style issues on `_meta/lpeg.lua` luadoc for better vimdocs
generation.
- Fix a bug on `gen_vimdoc` where non-helptags in verbatim code blocks
were parsed as helptags, affecting code examples on `vim.lpeg.Cf`,
etc.
- Also move the `vim.regex` section below so that it can be located
closer to `vim.lpeg` and `vim.re`.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 8e52542446..04072ffc3e 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -912,6 +912,7 @@ file(GLOB API_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/src/nvim/api/*.c) file(GLOB LUA_SOURCES CONFIGURE_DEPENDS ${NVIM_RUNTIME_DIR}/lua/vim/*.lua + ${NVIM_RUNTIME_DIR}/lua/vim/_meta/*.lua ${NVIM_RUNTIME_DIR}/lua/vim/filetype/*.lua ${NVIM_RUNTIME_DIR}/lua/vim/lsp/*.lua ${NVIM_RUNTIME_DIR}/lua/vim/treesitter/*.lua |