mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
don't auto close on single quote
In F# the `'` is prepended to an identifier to indicate it is generic in type and function signatures: ``` let fn (x: 'a ) (y: 'b) = ... type Box< 'a, 'b > () = ... type Inter = abstract Op : 'a -> 'b -> 'c ``` It is also common convention to append it to binding names as it is a valid identifier char, e.g. `let x = 10 in let x' = x + 5`. These usages are vastly more common than using `'` to surround a character literal and as such the auto close behavior is incredibly annoying when writing F#.
This commit is contained in:
parent
dde41be023
commit
c4a13301d2
|
@ -12,8 +12,7 @@
|
|||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
["\"", "\""]
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["{", "}"],
|
||||
|
@ -22,4 +21,4 @@
|
|||
["\"", "\""],
|
||||
["'", "'"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue