spadgos / sublime-DefaultFileType

ST2 Package which automatically sets the syntax for new files
MIT License
68 stars 20 forks source link

Setting syntax for HTML by default? #14

Open Sorcerian-Bootleg opened 3 years ago

Sorcerian-Bootleg commented 3 years ago

Hi, i started using Sublime Text 3 recently and i wanted to use this package for opening new files with HTML syntax by default.

i don't know if i'm doing it right, i installer DefaultFileType through Package Control and then, in Program Files/Sublime Text 3/ Packages i've created a default_file_type.sublime-settings file in which i wrote this:

{ "default_new_file_syntax":  "Packages/HTML/HTML.sublime-syntax",
"use_current_file_syntax": false }

But it still keeps the plain text mode when i open a new file.

What am i doing wrong?