Remove @ from word separators (#1990)

This commit is contained in:
Karl Burtram
2018-07-23 21:10:01 -04:00
committed by GitHub
parent a55b1804e9
commit ab938f2536
2 changed files with 4 additions and 3 deletions

View File

@@ -12,8 +12,9 @@
["{", "}"], ["{", "}"],
["[", "]"], ["[", "]"],
["(", ")"], ["(", ")"],
["\"", "\""], { "open": "\"", "close": "\"", "notIn": ["string"] },
["'", "'"] { "open": "N'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
], ],
"surroundingPairs": [ "surroundingPairs": [
["{", "}"], ["{", "}"],

View File

@@ -6,7 +6,7 @@
import { IWordAtPosition } from 'vs/editor/common/model'; import { IWordAtPosition } from 'vs/editor/common/model';
export const USUAL_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\|;:\'",.<>/?'; export const USUAL_WORD_SEPARATORS = '`~!#$%^&*()-=+[{]}\\|;:\'",.<>/?';
/** /**
* Create a word definition regular expression based on default word separators. * Create a word definition regular expression based on default word separators.