How to set the default lexer to open files?
How to set the default lexer to open files?
I want to open .h files on CudaText and each time it always asks if I want to use the C or C++ lexer. Since I only work with C++, how could I set C++ as the default lexer applied when opening .h files so Cuda will not ask me again and again? Thank you.
-
- Posts: 17
- Joined: 27.12.2020 08:31
the solution is "file types config", read in the wiki--
https://wiki.freepascal.org/CudaText#Configs
I added the config for C++ and .h file is opened in C++ now. I also will remove .h file type from C lexer. to be simpler.
https://wiki.freepascal.org/CudaText#Configs
I added the config for C++ and .h file is opened in C++ now. I also will remove .h file type from C lexer. to be simpler.