generated from eblume/project-template
infra(nvim): add stylua formatter + prek hook; normalize heph.nvim Lua
A `.stylua.toml` (Spaces/2, else stylua defaults) + a `stylua-system` prek hook make Lua whitespace formatter-enforced (the repo had no Lua formatter, so style was hand-maintained and drifted). Normalized the three non-conformant files in passing. 21 nvim e2e specs still green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0e9cfc1fd7
commit
d85ce3362f
6 changed files with 26 additions and 17 deletions
|
|
@ -34,10 +34,7 @@ describe("task capture to done", function()
|
|||
vim.api.nvim_win_set_cursor(0, { 2, 0 })
|
||||
require("heph.view").open_under_cursor()
|
||||
local ctxbuf = vim.api.nvim_get_current_buf()
|
||||
assert.are.equal(
|
||||
"heph://node/" .. ranked[1].canonical_context_id,
|
||||
vim.api.nvim_buf_get_name(ctxbuf)
|
||||
)
|
||||
assert.are.equal("heph://node/" .. ranked[1].canonical_context_id, vim.api.nvim_buf_get_name(ctxbuf))
|
||||
|
||||
-- Add a checklist item and save.
|
||||
vim.api.nvim_buf_set_lines(ctxbuf, 0, -1, false, { "- [ ] buy shingles" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue