If you’ve ever needed to debug a plugin, this might come in handy to get the current filetype. In my case, the filetype was not what I had assumed.
:set ft? " or :set filetype?
If you’re curious to learn more, you can use
:help ft to check out the docs on filetype