From e050b01394f85779fd1403f5938b37fa53aa974c Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 12 Feb 2019 00:43:00 -0500 Subject: Call setlocale in hi --- bin/hi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/hi.c b/bin/hi.c index 8a254ce9..e10d120a 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -588,6 +589,8 @@ static bool findOption(enum Option *opt, const char *key) { } int main(int argc, char *argv[]) { + setlocale(LC_CTYPE, ""); + const char *name = NULL; struct Language lang = {0}; struct Format format = Formats[0]; -- cgit 1.4.1 r' selected='selected'>master dontfiles
summary refs log tree commit diff
path: root/etc (unfollow)
Commit message (Expand)Author
2021-02-04Use owner-filter for repo page headersJune McEnroe
2021-02-04Warn twice about stopped jobsJune McEnroe
2021-02-04Remove cgit logo using cgitrcJune McEnroe
2021-01-31Add The Rosewater RedemptionJune McEnroe
2021-01-29Use int when checking for EOFJune McEnroe
2021-01-28Move gpl.c and agpl.c templates out of etcJune McEnroe
2021-01-27Set para and sect for mdocJune McEnroe
2021-01-26Use First state to match keyword at beginning of lineJune McEnroe
2021-01-25Install vi on Linux and nvi on macOSJune McEnroe
2021-01-25Use vi and lessJune McEnroe
2021-01-20Use mtags for sh in source-filterJune McEnroe
2021-01-20Generate tags for sh files in mtagsJune McEnroe
2021-01-20Add messy sh lexerJune McEnroe
2021-01-20Add all target to git.causal.agency MakefileJune McEnroe
2021-01-20Remove Lua supportJune McEnroe
2021-01-20Fix tests for diff spansJune McEnroe
2021-01-20Avoid matching ':' in make tagsJune McEnroe
2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe
2021-01-19Escape \ and / in mtags search patternsJune McEnroe
2021-01-20Use mtags in source-filterJune McEnroe
2021-01-19Add mtags to generate tags for make and mdocJune McEnroe
2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe
2021-01-19Don't use a pager if reading standard inputJune McEnroe
2021-01-19Support BSD make syntax and match *.amJune McEnroe
2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe
2021-01-18Allow matching lexers using first input lineJune McEnroe