Closed sbaack closed 10 years ago
Actually it's rather easy. My latest commit should have worked. I added done.txt as it's pretty much a default file.
(Just add them to the array.)
Thanks for your quick reply! I have to admit I'm not programmer and never used GitHub/Git yet, so I'm not sure what to do and I don't want to mess things up ;) I would just add someday_maybe.txt to the array, I think that's something other people use too. My shared todo list has a unique name though, I don't think it would be helpful to add it to the 'official' list of supported filenames. Is there a way I can add such unique names only for me (locally)?
Sure, change the .tmlanguage file and add a string in the obvious place. :)
OK, it took me a while to figure out where tmLanguage files are stored and how to edit them, but now it seems to work. Thank you! :)
Oh, sorry. Usually in your program folder. :)
No problem!
By default, it seems syntax highlighting is only applied to files named todo.txt but I have todo lists with other names. I archive my tasks in done.txt, I have a _somedaymaybe.txt beside my daily updated todo.txt, and I share a todo list with a friend that has a different name as well.
I couldn't figure out how to define syntax highlighting for specific files/filenames in Sublime Text. I don't want to change it for the file type - not all txt files should have TodoTxt syntax. The closest I got was this plugin, but it's not available for Sublime Text 3.
Is there an easy way to add filenames for TodoTxt syntax highlighting? And if not, could you add this functionality?