You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the source is hard coded to work only with the filetype gitcommit, here:
functionsource:is_available() returnvim.bo.filetype=="gitcommit" end
This prevents to use this plugin source with other filetypes, which for example the one used by Neogit in its commit window, which is "NeogitCommitMessage".
Given that it's the user who has to configure the source using cmp.setup.filetype using nvim-cmp API I see no reason to lock it to a given filetype.
Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered:
Right now the source is hard coded to work only with the filetype gitcommit, here:
This prevents to use this plugin source with other filetypes, which for example the one used by Neogit in its commit window, which is "NeogitCommitMessage".
Given that it's the user who has to configure the source using
cmp.setup.filetype
using nvim-cmp API I see no reason to lock it to a given filetype.Please correct me if I'm wrong.
The text was updated successfully, but these errors were encountered: