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

Make :Iawriter command accept an optional 'dimension' parameter #4

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

Conversation

leogama
Copy link

@leogama leogama commented Dec 30, 2020

Pass an optional parameter to Goyo to specify the window dimensions in the command, independent of configuration. Tested and working.

@subnut subnut added enhancement New feature or request needs work labels Feb 23, 2021
endif
silent! doautocmd <nomodeline> User IawriterToggleFinished
endfun " }}}

fun! vim_iawriter#toggle() " {{{1
call <SID>toggle()
fun! vim_iawriter#toggle(dimension=v:none) " {{{1
Copy link
Owner

Choose a reason for hiding this comment

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

dimension=v:none is currently not supported in neovim and older vim versions.

@subnut
Copy link
Owner

subnut commented Feb 23, 2021

No need to work on this PR right now. I shall pick it up later.

@subnut subnut self-assigned this Feb 23, 2021
@subnut
Copy link
Owner

subnut commented Feb 23, 2021

If somebody else also needs this feature, comment below. It may cause this PR to be implemented sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants