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

Fix The Bug Brought by #212 #216

Merged
merged 1 commit into from
Nov 9, 2020
Merged

Fix The Bug Brought by #212 #216

merged 1 commit into from
Nov 9, 2020

Conversation

equt
Copy link
Contributor

@equt equt commented Nov 9, 2020

In PR #212, there is a bug that Fixedgq is used along with the formatprg option. According to the Vim/NeoVim doc

'formatprg' 'fp'	string (default "")
			global or local to buffer |global-local|

	The name of an external program that will be used to format the lines
	selected with the |gq| operator.  The program must take the input on
	stdin and produce the output on stdout.  The Unix program "fmt" is
	such a program.

this function should only be used in the formatexpr option.

c.c. #209

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.

2 participants