aziz / PlainTasks

An opinionated todo-list plugin for Sublime Text editor (version 2 and 3)
MIT License
3.29k stars 286 forks source link

Q: Custom priorities #345

Closed arturesteves closed 7 years ago

arturesteves commented 7 years ago

Is it possible to create custom priorities? I tried to change the the following list of files:

I tried to add my own priority by doing in every file in the list what you did to any priority that you created.

The main problem was that in the file: PlainTasks.sublime-syntax you have a list like this:

and if i added my own priority to the list a error would appear, saying: " Error loading syntax file "Packages/PlainTasks/PlainTasks.sublime-syntax": Error trying to parse sublime-syntax: illegal tab when looking for identation in Packages/PlainTasks/PlainTasks.sublime-syntax:56:1 "

There is a workaround this error and is by replacing any item of the above list for my own, but the ideal situation was to keep what you created and add others.

vovkkk commented 7 years ago

illegal tab when looking for identation

sublime-syntax is yaml; yaml supports only spaces for indentations http://www.yaml.org/faq.html

You can convert tabs to spaces via status-bar: on right side there should be either Tab size or Spaces label, click it and choose convert indentation to spaces and make sure to enable indent using spaces.

arturesteves commented 7 years ago

Thanks mate, it worked!