Skip to content

fix(ui): trim spaces around ascii truncation markers#124

Merged
barrettruth merged 1 commit intomainfrom
fix/truncation-spacing
Apr 9, 2026
Merged

fix(ui): trim spaces around ascii truncation markers#124
barrettruth merged 1 commit intomainfrom
fix/truncation-spacing

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Summary

  • trim whitespace adjacent to shared ... truncation markers in the layout helpers
  • fix both tail truncation (foo... instead of foo ...) and head truncation (...bar instead of ... bar)
  • add layout regressions so all relevant pickers inherit the same spacing behavior

Test plan

  • bash -lc 'cd /home/barrett/dev/forge.nvim-truncation-spacing && nix develop /home/barrett/dev/forge.nvim#ci --command busted'
  • bash -lc 'cd /home/barrett/dev/forge.nvim-truncation-spacing && nix develop /home/barrett/dev/forge.nvim#ci --command selene --display-style quiet lua spec/layout_spec.lua spec/init_spec.lua'
  • bash -lc 'cd /home/barrett/dev/forge.nvim-truncation-spacing && nix develop /home/barrett/dev/forge.nvim#ci --command lua-language-server --check lua --configpath=/home/barrett/dev/forge.nvim/.luarc.json --checklevel=Warning'
  • bash -lc 'cd /home/barrett/dev/forge.nvim-truncation-spacing && nix develop /home/barrett/dev/forge.nvim#ci --command stylua --check lua spec/layout_spec.lua spec/init_spec.lua'

@barrettruth barrettruth merged commit 5fcdabc into main Apr 9, 2026
8 checks passed
@barrettruth barrettruth deleted the fix/truncation-spacing branch April 9, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant