Files
neovim/runtime/lua/vim
Justin M. Keyes be1fbe38b3 feat(lua): vim.text.indent()
Problem:
Indenting text is a common task in plugins/scripts for
presentation/formatting, yet vim has no way of doing it (especially
"dedent", and especially non-buffer text).

Solution:
Introduce `vim.text.indent()`. It sets the *exact* indentation because
that's a more difficult (and thus more useful) task than merely
"increasing the current indent" (which is somewhat easy with a `gsub()`
one-liner).
2025-02-26 23:06:22 +01:00
..
2025-01-30 13:46:06 +01:00
2024-03-06 10:45:22 +00:00
2024-01-16 09:33:10 +00:00
2025-02-26 23:06:22 +01:00
2024-09-01 13:01:24 -07:00
2025-02-09 18:10:54 +01:00
2025-02-26 23:06:22 +01:00