diff options
author | pommicket <pommicket@gmail.com> | 2023-06-17 18:38:55 +0100 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-06-17 18:38:55 +0100 |
commit | af946739afbf2a0728452d736b0a8bde7efa461e (patch) | |
tree | 583e13981a3663a36ce4e9e9e38036eaf529b054 /main.c | |
parent | 7e40fc996be11d0ab1b4735872f5fb48f6a59aac (diff) |
ignore duplicate autocomplete suggestions for phantom
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,5 @@ /* TODO: -- select sole completion if all completions' textEdits are identical (e.g. SyntaxCharT___ in ted) FUTURE FEATURES: - autodetect indentation (tabs vs spaces) - font setting & support for multiple fonts to cover more characters @@ -131,6 +130,7 @@ static void error_signal_handler(int signum, siginfo_t *info, void *context) { Ted *ted = error_signal_handler_ted; if (ted) { FILE *log = ted->log; + if (log) { fprintf(log, "Signal %d: %s\n", signum, strsignal(signum)); fprintf(log, "errno = %d\n", info->si_errno); |