diff --git a/identify/extensions.py b/identify/extensions.py index 8b38f70..7c8159d 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -393,6 +393,7 @@ 'setup.cfg': EXTENSIONS['ini'], 'sys.config': EXTENSIONS['erl'], 'sys.config.src': EXTENSIONS['erl'], + 'Tiltfile': {'text', 'tiltfile'}, 'Vagrantfile': EXTENSIONS['rb'], 'WORKSPACE': EXTENSIONS['bzl'], 'wscript': EXTENSIONS['py'], diff --git a/tests/identify_test.py b/tests/identify_test.py index c0e5410..47b9b3b 100644 --- a/tests/identify_test.py +++ b/tests/identify_test.py @@ -172,6 +172,9 @@ def test_tags_from_path_plist_text(tmpdir): ('meson.build', {'text', 'meson'}), ('meson_options.txt', {'text', 'plain-text', 'meson'}), ('Vagrantfile', {'text', 'ruby'}), + ('Tiltfile', {'text', 'tiltfile'}), + ('Tiltfile.abc', {'text', 'tiltfile'}), + ('test.Tiltfile', {'text', 'tiltfile'}), # does not set binary / text ('f.plist', {'plist'}),