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

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

Open
1 of 3 tasks
MaJinjie opened this issue Jun 19, 2024 · 0 comments

Comments

@MaJinjie
Copy link

Before reporting

  • Please make sure you have searched through the F.A.Q. first.

  • Please make sure you are using the latest version of this plugin.

  • It's better to use English as it's more friendly to other non-Chinese native users.

Environment

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

  • Output of vim --version:

  • Platform:

    • Linux
    • Mac OS X
    • Windows

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)

@MaJinjie MaJinjie changed the title In event: TermOpen, the filetype obtained in autocomd is "", which is not the expected floatterm.(在event:TermOpen中,autocomd中获得的filetype为“”,这不是预期的floatterm) In event: TermOpen, the filetype obtained in autocmd is "", which is not the expected floaterm.(在event:TermOpen中,autocomd中获得的filetype为“”,这不是预期的floatterm) Jun 19, 2024
@MaJinjie MaJinjie changed the title In event: TermOpen, the filetype obtained in autocmd is "", which is not the expected floaterm.(在event:TermOpen中,autocomd中获得的filetype为“”,这不是预期的floatterm) In event: TermOpen, the filetype obtained in autocmd is "", which is not the expected floaterm.(在event:TermOpen中,autocmd中获得的filetype为“”,这不是预期的floaterm) Jun 19, 2024
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

1 participant