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

error when I quit help files #8

Closed
Jaehaks opened this issue Aug 17, 2024 · 2 comments · Fixed by #6, #11 or #12
Closed

error when I quit help files #8

Jaehaks opened this issue Aug 17, 2024 · 2 comments · Fixed by #6, #11 or #12

Comments

@Jaehaks
Copy link

Jaehaks commented Aug 17, 2024

Thank you for your efforts,

Whenever I quit opened help files, this mesage is invoked
image

It said that it needs to set filetype, but the help file is already set to 'help'
What I am missing?

this is my config

{
	-- rendering help using vimdoc treesitter
	"OXY2DEV/helpview.nvim",
	lazy = false, -- Recommended
	enabled = true,
	dependencies = {
		"nvim-treesitter/nvim-treesitter"
	}
}
@OXY2DEV
Copy link
Owner

OXY2DEV commented Aug 17, 2024

That's strange. A help buffer shouldn't throw that error.

Did you do something like :e <some-file>(basically opening something on the buffer where the help file was being shown)?

@Jaehaks
Copy link
Author

Jaehaks commented Aug 18, 2024

@OXY2DEV

I got what is the problem.
The error occurs whenever I close the help file with :bd. not :q
If I disable helpview.nvim, the :bd doesn't invoke error. so that is the reason why I think this way.
It is same situation when I quit the help file after opening a :e newfile .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants