From 7f923fc05fdc1001007dbf92eee4de97bd0bef0f Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 4 Jan 2018 12:13:23 -0800 Subject: [PATCH] Fix section comments --- src/tree-sitter-language-mode.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/tree-sitter-language-mode.js b/src/tree-sitter-language-mode.js index 8cba4e25f..313c3574d 100644 --- a/src/tree-sitter-language-mode.js +++ b/src/tree-sitter-language-mode.js @@ -41,8 +41,8 @@ class TreeSitterLanguageMode { } /* - * Section - Highlighting - */ + Section - Highlighting + */ buildHighlightIterator () { const invalidatedRanges = this.document.parse() @@ -67,8 +67,8 @@ class TreeSitterLanguageMode { } /* - * Section - Commenting - */ + Section - Commenting + */ commentStringsForPosition () { return this.grammar.commentStrings @@ -79,8 +79,8 @@ class TreeSitterLanguageMode { } /* - * Section - Indentation - */ + Section - Indentation + */ suggestedIndentForLineAtBufferRow (row, line, tabLength) { return this.suggestedIndentForBufferRow(row, tabLength) @@ -119,8 +119,8 @@ class TreeSitterLanguageMode { } /* - * Section - Folding - */ + Section - Folding + */ isFoldableAtRow (row) { if (this.isFoldableCache[row] != null) return this.isFoldableCache[row] @@ -263,8 +263,8 @@ class TreeSitterLanguageMode { } /* - * Syntax Tree APIs - */ + Syntax Tree APIs + */ getRangeForSyntaxNodeContainingRange (range) { const startIndex = this.buffer.characterIndexForPosition(range.start) @@ -277,8 +277,8 @@ class TreeSitterLanguageMode { } /* - * Section - Backward compatibility shims - */ + Section - Backward compatibility shims + */ tokenizedLineForRow (row) { return new TokenizedLine({