mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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
|
case takeAndContinue <$> (word <|> punctuation) of
|
||||||
Just a -> a
|
Just a -> a
|
||||||
Nothing ->
|
Nothing ->
|
||||||
case parse Char.isSpace string of
|
case space of
|
||||||
Just parsed -> skipAndContinue parsed
|
Just parsed -> skipAndContinue parsed
|
||||||
Nothing -> []
|
Nothing -> []
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user