summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-01 23:30:51 -0500
committerpommicket <pommicket@gmail.com>2023-01-01 23:30:51 -0500
commit4c1c689240f9590f25b18337f2f9897b29d9e27d (patch)
tree2b84f4b87acf665b974a72378c844f1c46f2b4c8 /main.c
parent7ca811b72f10ce76d0372343bde71beea3528b20 (diff)
move string32.c into util.c
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 97e4103..bbe7aea 100644
--- a/main.c
+++ b/main.c
@@ -100,7 +100,6 @@ no_warn_end
#include "ted.h"
#include "gl.c"
#include "text.c"
-#include "string32.c"
#include "colors.c"
#include "syntax.c"
#include "buffer.c"
@@ -766,8 +765,9 @@ int main(int argc, char **argv) {
// characters because currently we ask for signature
// help any time a character is inserted.
- if (settings->identifier_trigger_characters && is_word(last_char)
- && !is_digit(last_char))
+ if (settings->identifier_trigger_characters
+ && is32_word(last_char)
+ && !is32_digit(last_char))
autocomplete_open(ted, last_char);
}