Module: RuVim::Lang::Base

Defined in:
lib/ruvim/lang/base.rb

Class Method Summary collapse

Class Method Details

.calculate_indent(_lines, _target_row, _shiftwidth) ⇒ Object



16
17
18
# File 'lib/ruvim/lang/base.rb', line 16

def calculate_indent(_lines, _target_row, _shiftwidth)
  nil
end

.dedent_trigger(_char) ⇒ Object



12
13
14
# File 'lib/ruvim/lang/base.rb', line 12

def dedent_trigger(_char)
  nil
end

.indent_trigger?(_line) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/ruvim/lang/base.rb', line 8

def indent_trigger?(_line)
  false
end

.on_save(_ctx, _path) ⇒ Object



20
21
22
# File 'lib/ruvim/lang/base.rb', line 20

def on_save(_ctx, _path)
  # no-op
end