mrmixer
EDIT: look at the reply below, what I said was wrong.
I don't think there is a setting for that. I believe that the thing that populate the autocomplete list is the "treat as code" flags on the buffer. What you could do with the custom layer is create a new language context with no keywords in it.
Look at the default_file_settings function in 4coder_default_hooks.cpp and files in the languages folder.
I tried editing default_file_settings in the 4coder_default_hooks.cpp directly by:
1. adding another
if statement to match "txt" extension. Nothing happen after recompile.
2. adding another condition to
| if (match(ext, "cpp") || match(ext, "h")...
|
into
| if (match(ext, "cpp") || match(ext, "h") || match(ext, "txt")...
|
Recompile that one too and nothing happen.
Sorry for asking this noobies question. I'm new.