Files
telekasten.nvim/lua/telekasten.lua
chrsm c0925f0d30 fix: note title ending removed when it matches parts of extension (#119)
* fix: note title ending removed when it matches parts of extension

By using [] we provide a character set rather than a direct match with ().
Lua patterns don't allow N-captures with (), so we continue executing
the pattern until there are no more substitutions being executed.

fixes #118

* fix: refactor extension stripping from title

Don't worry about n-capture, once is enough.
Turned it into a fn so it can be used elsewhere.

refs #118
2022-05-01 07:05:01 +00:00

95 KiB