Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: improve task_list.width description #232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zajozor
Copy link

@Zajozor Zajozor commented Nov 19, 2023

It took me quite a while to find #16 and understand this, as it was not immediately obvious to me that min/max are still
applied if you define width. The original description may even be suggestive that width simply overrides min/max :D

This PR is an attempt to improve the docs there!


Awesome plugin btw - took me quite a while to figure out a usage pattern that works for me, but now I'm really enjoying it!

Comment on lines +101 to +103
-- Note that min_width/max_width contraints are still applied after this, so when setting
-- width outside of the default min/max range you may need to do something like:
-- min_width = 0, max_width = 0.99, width = 20 (to set a default width of 20 columns)
Copy link
Owner

Choose a reason for hiding this comment

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

I would leave it at "Note that min_width/max_width contraints are still applied after this." Also, this portion of the file is autogenerated, so you actually need to make the changes in config.lua

-- optionally define an integer/float for the exact width of the task list

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.

None yet

2 participants