projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up SConstruct file.
[matthijs/master-project/report.git]
/
pret-lam.lua
diff --git
a/pret-lam.lua
b/pret-lam.lua
index cf50e87408e1d880d98b2c506a4207879431b2ad..f14b962ba2cd162a8f9743e73aeef8e30b695776 100644
(file)
--- a/
pret-lam.lua
+++ b/
pret-lam.lua
@@
-25,6
+25,7
@@
buffers.visualizers.lam.symbols = {
-- The default * sits very high above the baseline, \ast (u+2217) looks
-- better.
['*'] = {repr = '\\ast'},
-- The default * sits very high above the baseline, \ast (u+2217) looks
-- better.
['*'] = {repr = '\\ast'},
+ ['~'] = {repr = '\\sim'},
}
}
@@
-64,7
+65,7
@@
end
function buffers.visualizers.lam.take_word(str)
-- A word must always start with a-z (in particular, λ is not a valid
-- start of a word).
function buffers.visualizers.lam.take_word(str)
-- A word must always start with a-z (in particular, λ is not a valid
-- start of a word).
- res, newstr = utf.match(str, "^([a-z][%a%d_]+)(.*)")
+ res, newstr = utf.match(str, "^([a-z
A-Z
][%a%d_]+)(.*)")
return res, newstr or str
end
return res, newstr or str
end