Jōshin
2fc507c98f
Fix more vi modelines ( #1006 )
...
* modelines: tw -> sw
shiftwidth, not textwidth.
* space-surround modelines
* fix irregular modelines
* Fix modeline in titlegen.c
2023-12-13 02:28:11 -05:00
Jōshin
e16a7d8f3b
flip et / noet in modelines
...
`et` means `expandtab`.
```sh
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\) et\(.*\) :vi/vi: \1 xoet\2:vi/'
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\)noet\(.*\):vi/vi: \1et\2 :vi/'
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\)xoet\(.*\):vi/vi: \1noet\2:vi/'
```
2023-12-07 22:17:11 -05:00
Jōshin
394d998315
Fix vi modelines ( #989 )
...
At least in neovim, `│vi:` is not recognized as a modeline because it
has no preceding whitespace. After fixing this, opening a file yields
an error because `net` is not an option. (`noet`, however, is.)
2023-12-05 14:37:54 -08:00
Justine Tunney
c9a981fdbe
Fix some more reported issues
2022-04-28 20:36:33 -07:00
Justine Tunney
e3a7ab1804
Fix some bugs
...
- addr2line backtrace should continue on eintr
- lua crashes if we try to iterate a non-table
2022-04-27 21:26:46 -07:00
Steve Phillips
92ebef16ee
Add complex square root ( #394 )
2022-04-27 21:19:48 -07:00