I deleted all my files in Preferences and Application Support, also cleaned with CleanMyMac and restarted and reinstalled but didn't work.
After I researched it had to do something with .tmLanguage file and look into my Packages folder in Application Support but all it has there is User folder and there are Package Control files and Preferences files. If that's causing the problem, it should have fixed when I deleted and reinstalled the folder earlier.
Please tell me if there are any other folder that saves the highlighting preferences, other than Preferences, Application Support and the app itself.
Please help me solve this issue to be able to highlight codes in a default manner.