L3MON4D3 / LuaSnip

Snippet Engine for Neovim written in Lua.
Apache License 2.0
3.37k stars 240 forks source link

Add a way to get the current log path through lua, add time formatting to logs #1231

Closed Diegovsky closed 3 weeks ago

Diegovsky commented 3 weeks ago

So, for some specific debug functionality I'm adding to my config, I needed a way to get the log path used by LS, and figured other people might want to use it too.

Also, added time information to help debug other problems and/or improve understanding of when stuff happens.

L3MON4D3 commented 3 weeks ago

These changes are good, Thanks! Also +1 for making the time-fmt configurable :)