feat: add the entire plugin
This commit is contained in:
parent
7eade50d05
commit
21b8cfb470
7 changed files with 382 additions and 5 deletions
11
plugin/fugitive-ts.lua
Normal file
11
plugin/fugitive-ts.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
if vim.g.loaded_fugitive_ts then
|
||||
return
|
||||
end
|
||||
vim.g.loaded_fugitive_ts = 1
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'fugitive',
|
||||
callback = function(args)
|
||||
require('fugitive-ts').attach(args.buf)
|
||||
end,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue