mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Don't deprecate setGrammar yet
This commit is contained in:
@@ -3561,7 +3561,6 @@ class TextEditor {
|
||||
//
|
||||
// * `grammar` {Grammar}
|
||||
setGrammar (grammar) {
|
||||
Grim.deprecate('Use atom.grammars.assignLanguageMode(buffer, languageName) instead')
|
||||
atom.grammars.assignLanguageMode(this.getBuffer(), grammar.name)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user