theme    = '766026CB-703D-4610-B070-8DE07D967C5F'
fontSize = 12
encoding = "UTF-8"

exclude  = "{*.{o,pyc},Icon\r,CVS,_darcs,_MTN,\{arch\},blib,*\~.nib}"
include  = "{*,.tm_properties,.htaccess}"
binary   = "{*.{ai,bz2,flv,gif,gz,icns,ico,jpg,jpeg,m4v,nib,o,pdf,png,psd,pyc,rtf,scssc,swf,tar,tbz,tgz,tif,tiff,zip},Icon\r}"

windowTitleSCM     = '${TM_SCM_BRANCH:+ ($TM_SCM_NAME: $TM_SCM_BRANCH)}'
windowTitleProject = '${projectDirectory:+ — ${projectDirectory/^.*\///}}'
windowTitle        = '$TM_DISPLAYNAME$windowTitleProject$windowTitleSCM'

LANG                 = "en_US.UTF-8"
LC_CTYPE             = "en_US.UTF-8"
TM_APP_PATH          = "${CWD/\/Contents\/Resources$//}"
TM_MATE              = "$CWD/mate"
MATEFLAGS            = "--no-recent"
TM_QUERY             = "$CWD/tm_query"
TM_SCM_COMMIT_WINDOW = "$CWD/commit"

[ attr.untitled ]
fileType         = text.plain

[ text ]
softWrap         = true

[ text.git-commit ]
spellChecking    = true
spellingLanguage = 'en'

[ source.ruby ]
softTabs         = true
tabSize          = 2

[ source.python ]
softTabs         = true
tabSize          = 4

[ source.makefile ]
softTabs         = false

[ source.ninja ]
softTabs         = true

[ "/System/Library/Frameworks/**/Headers/**" ]
encoding         = "MACROMAN"
tabSize          = 8

[ "hg-editor-*.txt" ]
fileType         = "text.hg-commit"

[ *.go ]
relatedFilePath  = "${TM_FILEPATH/(?=\.go$)/_test/}"

[ *_test.go ]
relatedFilePath  = "${TM_FILEPATH/_test(?=\.go$)//}"
