Fix #18241. Remove word patterns for ruby. We dono help select symbol for ruby

This commit is contained in:
rebornix 2017-04-05 14:53:07 -07:00
parent f403709aba
commit 45e6e90858

View file

@ -10,7 +10,6 @@ export function activate(context: ExtensionContext): any {
indentationRules: {
increaseIndentPattern: /^\s*((begin|class|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while)|(.*\sdo\b))\b[^\{;]*$/,
decreaseIndentPattern: /^\s*([}\]]([,)]?\s*(#|$)|\.[a-zA-Z_]\w*\b)|(end|rescue|ensure|else|elsif|when)\b)/
},
wordPattern: /(-?\d+(?:\.\d+))|(:?[A-Za-z][^-`~@#%^&()=+[{}|;:'",<>/.*\]\s\\!?]*[!?]?)/
}
});
}