8000 Add PHP to supportedExts and codeNavLanguages · github/semantic@1d03fae · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 1d03fae

Browse files
committed
Add PHP to 8000 supportedExts and codeNavLanguages
1 parent f793346 commit 1d03fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Language.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ languageForFilePath :: FilePath -> Language
134134
languageForFilePath = languageForType . takeExtension
135135

136136
supportedExts :: [String]
137-
supportedExts = [".go", ".py", ".rb", ".js", ".ts"]
137+
supportedExts = [".go", ".py", ".rb", ".js", ".ts", ".php", ".phpt"]
138138

139139
codeNavLanguages :: [Language]
140-
codeNavLanguages = [Go, Ruby, Python, JavaScript, TypeScript]
140+
codeNavLanguages = [Go, Ruby, Python, JavaScript, PHP, TypeScript]
141141

142142
pathIsMinified :: FilePath -> Bool
143143
pathIsMinified = isExtensionOf ".min.js"

0 commit comments

Comments
 (0)
0