Skip to content

feat: add range parameter to sort#9

Open
nathanregner wants to merge 1 commit into
mtrajano:mainfrom
nathanregner:main
Open

feat: add range parameter to sort#9
nathanregner wants to merge 1 commit into
mtrajano:mainfrom
nathanregner:main

Conversation

@nathanregner

Copy link
Copy Markdown

related: #8

Comment thread lua/tssorter/sorter.lua
local sortable_name, sortable_nodes = tshelper.find_sortables(sortables)
---@type Range
local range
if opts.range == 'paragraph' then

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe overkill but seems like a handy preset (at least for my use case and the one mentioned in the linked issue)

@nathanregner
nathanregner marked this pull request as ready for review July 16, 2025 20:27
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