1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 04:52:53 +03:00

Add test for buggy ruby method newline

Currently, inserting a newline after a ruby method will incorrectly
cause the following line to repeat the method header. This commit
adds a test case to illustrate the bug.
This commit is contained in:
Nate Clark 2018-04-10 18:30:12 -05:00
parent 8dc6981323
commit 27604359d4
4 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
c<ret><esc>

View File

@ -0,0 +1,3 @@
class Test
def test%( )
end

View File

@ -0,0 +1,5 @@
class Test
def test
end
end

View File

@ -0,0 +1,3 @@
source "%val{runtime}/colors/default.kak"
source "%val{runtime}/rc/base/ruby.kak"
set buffer filetype ruby