voldikss / vim-floaterm

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

Is there a filetype for floating term? #94

Closed ywpkwon closed 4 years ago

ywpkwon commented 4 years ago

Thanks for this convenient plugin!

There is a plugin called "vim-indent-guides", which shows indentation information. image

Since users don't want to visualize indentation for nerdtree, startify, etc., the plugin provides setting like let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'startify'].

In Floaterm, when using ranger, I want to disable the plugin. image

So, I'm wondering if the terminal window has some internal filetype value. I couldn't find it. Nevermind if there is no such thing. I found there is a workaround: https://github.com/nathanaelkane/vim-indent-guides/issues/140.

I'm just curious here.

voldikss commented 4 years ago

The file type is exactly floaterm.

Youngwook Paul Kwon notifications@github.com 于 2020年4月18日周六 下午1:51写道:

Thanks for this convenient plugin!

There is a plugin called "vim-indent-guides", which shows indentation information. [image: image] https://user-images.githubusercontent.com/18429284/79629302-65ba2280-80fd-11ea-86c2-4cce3deaf71d.png

Since users don't want to visualize indentation for nerdtree, startify, etc., the plugin provides setting like let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'startify'].

In Floaterm, when using ranger, I want to disable the plugin. [image: image] https://user-images.githubusercontent.com/18429284/79629318-9732ee00-80fd-11ea-9fe5-7aedc4c7d21c.png

So, I'm wondering if the terminal window has some internal filetype value. I couldn't find it. Nevermind if there is no such thing. I found there is a workaround: nathanaelkane/vim-indent-guides#140 https://github.com/nathanaelkane/vim-indent-guides/issues/140.

I'm just curious here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/voldikss/vim-floaterm/issues/94, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2X3K6FADKB6FZI6EI2DGTRNE5XRANCNFSM4MLG6EFA .

ywpkwon commented 4 years ago

Wow. haha. I tried just terminal. Thanks.