tjdevries / youtube_lua

Youtube Series: <todo>
Other
24 stars 1 forks source link

modules / namespaces #5

Open tjdevries opened 3 years ago

smithbm2316 commented 3 years ago

+1 for this. One of the hard things for me to really wrap my head around with Lua modules/namespaces thus far is what is just a convention in Neovim plugin development, and what is actually related to how modules work.

i.e. using M everywhere and adding functions to it in Neovim plugins/lua config files, then returning M has never really clicked with me. example of what I'm talking about in your config files for nvim