voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.46k stars 79 forks source link

In event: TermOpen, the filetype obtained in autocmd is "", which is not the expected floaterm.(在event:TermOpen中,autocmd中获得的filetype为“”,这不是预期的floaterm) #438

Open MaJinjie opened 1 month ago

MaJinjie commented 1 month ago

Before reporting

Environment

If you are using vim(not neovim), fill in the following blanks

If you are using neovim, just run :checkhealth floaterm and post the content

below.

floaterm: health#floaterm#check

common ~
- WARNING health#report_start is deprecated, use vim.health.start instead. :help |deprecated|
  Feature will be removed in Nvim 0.11
- Platform: linux
- WARNING health#report_info is deprecated, use vim.health.info instead. :help |deprecated|
  Feature will be removed in Nvim 0.11
- Nvim: NVIM v0.10.0
- Plugin: 4e28c8d

terminal ~
- OK Terminal emulator is available
- WARNING health#report_ok is deprecated, use vim.health.ok instead. :help |deprecated|
  Feature will be removed in Nvim 0.11

floating ~
- OK Floating window is available

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

Describe your question, feature request, or bug.

Steps to reproduce

Using the minimal vimrc

FloatermNew

Steps to reproduce the behavior:

Actual behaviour

Expected behaviour

Screenshots(Optional, GIF is better)