diff options
author | pommicket <pommicket@gmail.com> | 2023-01-06 11:34:42 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-06 11:34:42 -0500 |
commit | 268aba5dde93b67df5f5bd137141eeb177485685 (patch) | |
tree | 7971dd7fa565ff9efb3ee6857b68164a317a92ab /main.c | |
parent | da244a2bfb1e1139e772e272166fc0ecd4898ad4 (diff) |
start phantom completions
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,7 +1,5 @@ /* @TODO: -- LSP configuration in ted.cfg - - disable publishDiagnostics for rust-analyzer (& others)? - phantom completions - debug-lsp option (which logs LSP messages) - check LSP process status (TEST: what happens if LSP server is not installed) @@ -747,11 +745,12 @@ int main(int argc, char **argv) { // NOTE: we are not checking for signature help trigger // characters because currently we ask for signature // help any time a character is inserted. - - if (settings->identifier_trigger_characters - && is32_word(last_char) - && !is32_digit(last_char)) - autocomplete_open(ted, last_char); + if (is32_word(last_char) + && !is32_digit(last_char)) { + if (settings->identifier_trigger_characters) { + autocomplete_open(ted, last_char); + } + } } } |