backing up sublime settings

This commit is contained in:
2014-04-04 11:21:58 -04:00
commit 2cbece8593
274 changed files with 23793 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from lint import Linter
class TODO(Linter):
scope = 'string'
selector = 'comment'
outline = False
@classmethod
def can_lint(cls, language):
return True
def lint(self):
lines = self.code.split('\n')
for i in range(len(lines)):
if 'TODO' in lines[i]:
todo = lines[i].index('TODO')
self.highlight.range(i, todo, 4)
self.error(i, 'TODO')