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

Suppress "No fold found" with :silent! #276

Merged

Conversation

nickspoons
Copy link
Contributor

Some adapters output a blank line as the first line of the dbout buffer, e.g. oracle with sqlplus. In this situation, an error is currently thrown on each execution, as the FileType dbout auto-command calls normal!zo with the cursor on the first line, which is not in a fold.

This PR simply suppresses that error with :silent!

Copy link
Owner

@kristijanhusak kristijanhusak left a comment

Choose a reason for hiding this comment

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

Thanks!

@kristijanhusak kristijanhusak merged commit f29c85a into kristijanhusak:master Sep 23, 2024
12 checks passed
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