mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Use the space atom.
This commit is contained in:
parent
36e495f918
commit
645ae0b6de
@ -21,7 +21,7 @@ rangesAndWordsFrom startIndex string =
|
||||
case takeAndContinue <$> (word <|> punctuation) of
|
||||
Just a -> a
|
||||
Nothing ->
|
||||
case parse Char.isSpace string of
|
||||
case space of
|
||||
Just parsed -> skipAndContinue parsed
|
||||
Nothing -> []
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user