Closed sudo-tee closed 2 weeks ago
@sudo-tee, hi, it's nice suggestion, I didn't think about this when I first developed this plugin. Will update it tomorrow.
hi @sudo-tee, filetype already added via https://github.com/SuperBo/fugit2.nvim/pull/80.
Added filetypes:
Did you check the docs?
Is your feature request related to a problem? Please describe.
I would like to be able to add my own autocommands / keymaps based on filetype
eg: when checking the filetype of fugitive
:=vim.bo.filetype
I getfugitive
.this allows me to to add ftplugins or autocommands to different window.
Describe the solution you'd like
simply by adding a filetype to different views eg:
'fugit2-log' 'fugit2-log-diff' 'fugit2-blame' 'fugit2-graph' 'fugit2-graph-branches' etc.
Describe alternatives you've considered
none.
Additional context
I think that by adding filetype will add more flexibility.
Thanks for your amazing plugin. It is really nice to see the plugin taking shape :)