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

confusion about output=terminal #32

Closed
andymass opened this issue Jun 7, 2020 · 4 comments
Closed

confusion about output=terminal #32

andymass opened this issue Jun 7, 2020 · 4 comments

Comments

@andymass
Copy link

andymass commented Jun 7, 2020

In vim 8.2.814 on linux, using output=terminal in the .tasks file doesn't seem to do anything special- the output still goes to the quickfix, as viewed with :copen. However, if I add pos=bottom it does open a :terminalas expected. It is not a big deal, but I am a bit confused about the meaning of the terminal option when pos is not specified. Is this the expected behavior?

[project-build]
command=cmake --build build
cwd=<root>
output=terminal
# pos=bottom         # without uncommenting this line, no terminal opens
errorformat=%f:%l:%m
@skywind3000
Copy link
Owner

The default position should be initialized via g:asynctasks_term_pos:

let g:asynctasks_term_pos = 'tab'

@andymass
Copy link
Author

OK, thanks! I will make sure to do that. It was just a little surprising to me that output=terminal doesn't do anything by default.

@skywind3000
Copy link
Owner

It is documented here.

图片

@andymass
Copy link
Author

I understand now. Thank you!

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

No branches or pull requests

2 participants