aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/shada.lua
Commit message (Collapse)AuthorAge
* fix(lua): enable param-type-mismatch diagnosticLewis Russell2026-09-28
| | | | | | | | | Problem: Argument type mismatches are excluded from EmmyLua checks. Solution: Correct runtime annotations and calls, document local checker workarounds, and enable the diagnostic. AI-assisted
* build: replace LuaLS with EmmyLuaLewis Russell2026-09-07
| | | | | | | | | | | | | | | Problem: LuaLS struggles with the generics used in Nvim's runtime, requiring broad diagnostic suppressions. Indexing is also slow. Solution: Use EmmyLua for type checks in the build and CI. It offers more sophisticated type checking, substantially better support for generics, and much better flow analysis. Correct the affected annotations. Use `@internal`, supported directly by EmmyLua, instead of `@nodoc` for shared internal declarations, and support it in the help parser. AI-assisted
* fix(shada): plugin/shada.lua does not respect 'cpoptions' "+" flag #40412Dmytro Meleshko2026-06-27
| | | | | | | | | | | Problem: plugin/shada.lua does not respect the `+` flag of 'cpoptions' when writing a *.shada buffer into a different file. Solution: Check the presence of `+` in 'cpoptions' and whether the buffer is written to a different file in BufWriteCmd for *.shada before resetting the 'modified' option of the buffer. This little defect appeared after plugin/shada.vim was rewritten into Lua in #34725.
* fix(shada): check return value is 0Yochem van Rosmalen2025-07-23
| | | | | | | | | Problem: Vimscript functions return number to signal ok/error. Lua doesn't convert these to be falsey. Solution: Explicitly check if the return value is 0.
* refactor(shada): switch plugin/shada.vim to Lua #34725Yochem van Rosmalen2025-07-23