Skip to content

Commit

Permalink
Remove @ from word separators (microsoft#1990)
Browse files Browse the repository at this point in the history
  • Loading branch information
kburtram authored Jul 24, 2018
1 parent a55b180 commit ab938f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions extensions/sql/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "N'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
],
"surroundingPairs": [
["{", "}"],
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/common/model/wordHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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.
Expand Down

0 comments on commit ab938f2

Please sign in to comment.