I use luasnip and nvim-cmp + friendly-snippets and I have the following snippet:
snippet lc "Insert last change"
-- Filename: ${TM_FILENAME}
-- Last Change: ${CURRENT_DAY_NAME_SHORT}, ${CURRENT_DATE} ${CURRENT_MONTH_NAME_SHORT} ${CURRENT_YEAR} - ${CURRENT_HOUR}:${CURRENT_MINUTE}
Those environment variables are not been parsed into my snippet, until some days ago they where. How can I track or debug to figure out what I am doing wrong?
As I am a lua beginner I keep trying, but I have used the silversearches over the LuaSnip folder this way:
Interestingly, it seems like the lsp or nvim-cmp was messing things up, because all of the sudden it started working again. (sometimes we need to run :PackerSync to fix some plugins issues). Thats my guess!