Commit ab55621d authored by Eyal Dechter's avatar Eyal Dechter

Small fix in delimiter; I deleted the isSymbol check earlier by accident.

parent c43fe0cb
...@@ -174,8 +174,8 @@ completionTarget code cursor = expandCompletionPiece pieceToComplete ...@@ -174,8 +174,8 @@ completionTarget code cursor = expandCompletionPiece pieceToComplete
delimPolicy = Drop delimPolicy = Drop
} }
isDelim :: Char -> Int -> Bool isDelim :: Char -> Int -> Bool
isDelim char idx = char `elem` neverIdent isDelim char idx = char `elem` neverIdent || isSymbol char
splitAlongCursor :: [[(Char, Int)]] -> [[(Char, Int)]] splitAlongCursor :: [[(Char, Int)]] -> [[(Char, Int)]]
splitAlongCursor [] = [] splitAlongCursor [] = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment