diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-11-18 17:04:50 -0500 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-12-08 01:43:02 -0500 |
| commit | 0bb5bc5557c4592764e215aa11dd41ddb5942acc (patch) | |
| tree | fef99c408efc43fe06f7ecb0feb386866a9f0a6b /runtime/lua/vim/_defaults.lua | |
| parent | 845cb5a527d2e699f379517bbc937fd39fb6e00d (diff) | |
| download | rneovim-0bb5bc5557c4592764e215aa11dd41ddb5942acc.tar.gz rneovim-0bb5bc5557c4592764e215aa11dd41ddb5942acc.tar.bz2 rneovim-0bb5bc5557c4592764e215aa11dd41ddb5942acc.zip | |
refactor: clint.py => clint.lua
Problem:
`clint.py` is the last python in our codebase, and beyond that it needs
some cleanup. And it lacks tests, so modifying it can be painful.
Also, we need a way to add ad-hoc lint rules for *Lua*, so it will help
to have our ad-hoc rules for C in the same language (the scripts may
share functions/techniques): https://github.com/neovim/neovim/issues/28372
Solution:
- convert to `clint.lua` (mostly AI-generated, but it now has test
coverage, unlike `clint.py`)
- drop rules that are no longer needed:
- "readability/multiline_string"
- technially still relevant, but very uncommon so doesn't really matter.
- "--line-length"
- Not used in the old clint.py, nor the new clint.lua.
- "comment whitespace" check
- It is enforced by uncrustify.
- "TODO" check
- The `-google-readability-function-size` clang-tidy rule enforces
"TODO(user)" format. (It was already enabled long ago.)
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions