Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(docs): replace lua2dox.lua | Lewis Russell | 2024-02-27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The documentation flow (`gen_vimdoc.py`) has several issues: - it's not very versatile - depends on doxygen - doesn't work well with Lua code as it requires an awkward filter script to convert it into pseudo-C. - The intermediate XML files and filters makes it too much like a rube goldberg machine. Solution: Re-implement the flow using Lua, LPEG and treesitter. - `gen_vimdoc.py` is now replaced with `gen_vimdoc.lua` and replicates a portion of the logic. - `lua2dox.lua` is gone! - No more XML files. - Doxygen is now longer used and instead we now use: - LPEG for comment parsing (see `scripts/luacats_grammar.lua` and `scripts/cdoc_grammar.lua`). - LPEG for C parsing (see `scripts/cdoc_parser.lua`) - Lua patterns for Lua parsing (see `scripts/luacats_parser.lua`). - Treesitter for Markdown parsing (see `scripts/text_utils.lua`). - The generated `runtime/doc/*.mpack` files have been removed. - `scripts/gen_eval_files.lua` now instead uses `scripts/cdoc_parser.lua` directly. - Text wrapping is implemented in `scripts/text_utils.lua` and appears to produce more consistent results (the main contributer to the diff of this change). | ||
* | fix(lsp): handle adjacent snippet tabstops | Maria José Solano | 2024-02-05 |
| | |||
* | refactor: create function for deferred loading | dundargoc | 2024-02-03 |
| | | | | | | | | | | | | | | | | The benefit of this is that users only pay for what they use. If e.g. only `vim.lsp.buf_get_clients()` is called then they don't need to load all modules under `vim.lsp` which could lead to significant startuptime saving. Also `vim.lsp.module` is a bit nicer to user compared to `require("vim.lsp.module")`. This isn't used for some nested modules such as `filetype` as it breaks tests with error messages such as "attempt to index field 'detect'". It's not entirely certain the reason for this, but it is likely it is due to filetype being precompiled which would imply deferred loading isn't needed for performance reasons. | ||
* | fix(snippet): remove misleading comment about TM_FILENAME_BASE (#26465) | Maria José Solano | 2023-12-08 |
| | |||
* | feat(lsp): support for choice snippet nodes | Maria José Solano | 2023-11-17 |
| | |||
* | fix(lsp): do not cancel snippet when selecting placeholder (#25835) | Maria José Solano | 2023-10-30 |
| | |||
* | fix(lsp): cancel session when leaving snippet region (#25762) | Maria José Solano | 2023-10-26 |
| | |||
* | fix(lsp): do not add extra indentation | Maria José Solano | 2023-10-23 |
| | |||
* | fix(lsp): track snippet deletion | Maria José Solano | 2023-10-23 |
| | |||
* | feat(lsp): add snippet API (#25301) | Maria José Solano | 2023-10-21 |