mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
📝 doc what DisplayBuffer::getGrammar returns
This commit is contained in:
@@ -365,7 +365,9 @@ class DisplayBuffer
|
||||
setTabLength: (tabLength) ->
|
||||
@tokenizedBuffer.setTabLength(tabLength)
|
||||
|
||||
# Retrieves the grammar for the buffer.
|
||||
# Get the grammar for this buffer.
|
||||
#
|
||||
# Returns the current {TextMateGrammar} or the {NullGrammar}.
|
||||
getGrammar: ->
|
||||
@tokenizedBuffer.grammar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user