gorbit99 / codewindow.nvim

MIT License
439 stars 17 forks source link

chore: clean the codebase a little - reduce overhead and underlocalization #55

Closed pocco81 closed 1 year ago

pocco81 commented 1 year ago

This PR simply adds a couple of good practices like reducing overhead (in treesitter) and localizing recurrently called global vars and funcs. This probably had a performance improvement, but it's negligible.

Very clean codebase btw!

gorbit99 commented 1 year ago

Very clean codebase btw!

Thank you, and thanks for doing this cleanup! Interestingly, when I originally had the config required at the beginning of files, I got circular dependency issues. I guess that's gone now