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
fa20edc44d
Reduce header complexity
...
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00
Justine Tunney
05b8f82371
Fold LIBC_BITS into LIBC_INTRIN
2022-08-11 12:13:18 -07:00
Justine Tunney
579b597ded
Refactor out some duplicated code
2021-08-14 06:17:56 -07:00