vscode/extensions/fsharp/language-configuration.json
Jared Hester c4a13301d2 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#.
2016-08-06 09:33:45 -04:00

25 lines
320 B
JSON

{
"comments": {
"lineComment": "//",
"blockComment": [ "(*", "*)" ]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""]
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}