You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping to extend this to support comments for TeX/LaTeX files. I'm not that familiar with Lua or Lua patterns, but I gather part of the difficulty with this is that TeX/LaTeX comments start with the percent sign '%', which of course has special meaning for Lua patterns.
I tried adding each of these: ft["tex"] = "% %s" ft["tex"] = "%% %s" ft["tex"] = "\% %s"
But none of them worked as I had hoped.
Thanks!
The text was updated successfully, but these errors were encountered:
I was hoping to extend this to support comments for TeX/LaTeX files. I'm not that familiar with Lua or Lua patterns, but I gather part of the difficulty with this is that TeX/LaTeX comments start with the percent sign '%', which of course has special meaning for Lua patterns.
I tried adding each of these:
ft["tex"] = "% %s"
ft["tex"] = "%% %s"
ft["tex"] = "\% %s"
But none of them worked as I had hoped.
Thanks!
The text was updated successfully, but these errors were encountered: