mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Merge branch 'master' into language-assignment-rename
This commit is contained in:
commit
8a3f4f7e33
@ -224,7 +224,8 @@ runParser Options{..} blob@Blob{..} = go
|
||||
liftIO (treeSitterParser tslanguage blob)
|
||||
MarkdownParser ->
|
||||
time "parse.cmark_parse" languageTag $
|
||||
pure (cmarkParser blobSource)
|
||||
let term = cmarkParser blobSource
|
||||
in length term `seq` pure term
|
||||
blobFields = ("path", blobPath) : languageTag
|
||||
languageTag = maybe [] (pure . (,) ("language" :: String) . show) blobLanguage
|
||||
errors :: (Syntax.Error :< fs, Apply Foldable fs, Apply Functor fs) => Term (Union fs) (Record Assignment.Location) -> [Error.Error String]
|
||||
|
Loading…
Reference in New Issue
Block a user