Add support for tsx and jsx
This commit is contained in:
@@ -17,6 +17,10 @@ function sniff_file_type () {
|
||||
file_type="php"
|
||||
elif [[ $ff == *.html ]] ; then
|
||||
file_type="html"
|
||||
elif [[ $ff == *.jsx ]] ; then
|
||||
file_type="jsx"
|
||||
elif [[ $ff == *.tsx ]] ; then
|
||||
file_type="tsx"
|
||||
fi
|
||||
|
||||
echo $file_type
|
||||
|
||||
Reference in New Issue
Block a user