diff options
| author | khwerz <khwerz@gmail.com> | 2022-06-21 00:01:14 -0400 |
|---|---|---|
| committer | Felix Van der Jeugt <felix.vanderjeugt@posteo.net> | 2022-07-23 10:23:06 +0200 |
| commit | 1ca937518ed5ca00e18e5e59e1fef0d9bd628e16 (patch) | |
| tree | a253079d8eebc14dc4757b4009b57266c0609012 /lua/lexers/reason.lua | |
| parent | cbeda11801c95687498e2deb6a0144b562581d16 (diff) | |
| download | vis-1ca937518ed5ca00e18e5e59e1fef0d9bd628e16.tar.gz vis-1ca937518ed5ca00e18e5e59e1fef0d9bd628e16.tar.xz | |
simplify loop to sanitize filename and read extension
This uses gsub instead of find+sub. Also changes an ignoresuffix
pattern from /~$/ to /~+$/ which should reduce iterations.
Diffstat (limited to 'lua/lexers/reason.lua')
0 files changed, 0 insertions, 0 deletions
