The .odin files aren't interpreted as code even if I added the .odin extension in the config.4coder file:
treat_as_code = ".hp.odin.cpp.c.hpp.h.cc.cs.java.rs.glsl.m.mm";
It was working perfectly with my previous 4coder version: alpha 4.0.29.
The text was updated successfully, but these errors were encountered:
If you have access to the customization layer here is a quick fix: in 4coder_default_hooks.cpp in the default_begin_buffer hook, you can change the code to set treat_as_code to true after the first if. I believe the second tests are to avoid running the lexer and other code related functionalities that might break on unsupported languages. This still needs to be addressed though, so don't close the issue.
erpeo93 commentedMay 23, 2020
The .odin files aren't interpreted as code even if I added the .odin extension in the config.4coder file:
treat_as_code = ".hp.odin.cpp.c.hpp.h.cc.cs.java.rs.glsl.m.mm";
It was working perfectly with my previous 4coder version: alpha 4.0.29.
The text was updated successfully, but these errors were encountered: