Closed zetashift closed 3 years ago
I'm not personally doing any sourcing of this file whatsoever, so I can only imagine it's a) a regular vim thing to load the matching files every time and b) there's just multiple copies of those files (that part isn't so good and maybe I can help there).
I include fennel.vim
with Aniseed modifications and improvement PRs merged with Aniseed so you don't need to add the fennel.vim
syntax plugin if you have Aniseed. That'd probably cut down on some of the loading? Otherwise I think it comes down to runtimepath things? Like ensuring certain directories you don't want loaded aren't in the RTP.
I'm not sure how to perform these exclusions right now though, that seems like a viml specific thing to some extent 🤔
Maybe there's a packer config that can restrict this somehow? I don't once try to load this file in any of my code though, to be clear. It's not something intentional Aniseed or Conjure are doing.
I think it's something I'm loading wrong with my treesitter config, eliminating treesitter made the excessive sourcing go away. Sorry for bothering!
So every time I edit an Fennel file my startup time slightly increases because
fennel.vim
gets sourced multiple times... I'm not sure why this is but is there a way to keep this at a minimum?nvim --startuptime log.txt
I am using treesitter for Fennel highlighting if that matters.