# File lib/neovim/line_range.rb, line 119
    def replace(other)
      self[0..-1] = other
      self
    end