mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Add php to code nav languages
This commit is contained in:
parent
6c311896f5
commit
275de222de
@ -134,10 +134,10 @@ languageForFilePath :: FilePath -> Language
|
||||
languageForFilePath = languageForType . takeExtension
|
||||
|
||||
supportedExts :: [String]
|
||||
supportedExts = [".go", ".py", ".rb", ".js", ".ts"]
|
||||
supportedExts = [".go", ".py", ".rb", ".js", ".ts", ".php", ".phpt"]
|
||||
|
||||
codeNavLanguages :: [Language]
|
||||
codeNavLanguages = [Go, Ruby, Python, JavaScript, TypeScript]
|
||||
codeNavLanguages = [Go, Ruby, Python, JavaScript, TypeScript, PHP]
|
||||
|
||||
pathIsMinified :: FilePath -> Bool
|
||||
pathIsMinified = isExtensionOf ".min.js"
|
||||
|
Loading…
Reference in New Issue
Block a user