const {Disposable} = require('event-kit')
const Point = require('./point')

const EMPTY = []

module.exports =
class NullLanguageMode {
  bufferDidChange () {}
  buildHighlightIterator () { return new NullHighlightIterator() }
  onDidChangeHighlighting () { return new Disposable(() => {}) }
}

class NullHighlightIterator {
  seek (position) { return EMPTY }
  moveToSuccessor () { return false }
  getPosition () { return Point.INFINITY }
  getCloseTags () { return EMPTY }
  getOpenTags () { return EMPTY }
}

@@ -285,16 +285,51 @@
 %3E %7B%7D) %7D%0A
+  getLanguageId () %7B return null %7D%0A
 %7D%0A%0Aclass

Add getLanguageId method to NullLanguageMode