Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Is there a dedicated filetype for floating window opened by the plugin? #36

Closed Answered by luckasRanarison
skoch13 asked this question in Q&A
Discussion options

You must be logged in to vote

I think it's possible with the new option from this PR, you could add a callback with after_open and set a custom filetype like this:

{
-- other options here
after_open = function(bufnr)
  vim.bo[bufnr].ft = "my_custom_ft"
end
}

Then you could just add this custom filetype to your ignore list.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@skoch13
Comment options

Answer selected by skoch13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants