LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.17k forks source link

fix(comment): fix change made to comment plugin #233

Closed andresatierf closed 1 year ago

andresatierf commented 1 year ago

Fix change made during this stream at 1:30:30.

internals was changed to utils

gnmearacaun commented 1 year ago

~ts_contextcommentstring.internals is already in a pcall of the require function and the utils methods made in the commit made onstream. Let me know if you are having unwanted behaviour otherwise I will close this.~

andresatierf commented 1 year ago

It's precisely that commit that this PR is meant to fix. That commit removed the use of ts_context_commentstring.internals used on the return statement of that file and instead used the ts_context_commentstring.utils

gnmearacaun commented 1 year ago

I see what you mean, there was a typo on the stream; calculate_commentstring is part of internals, not utils