I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,38 @@
Before:
runtime ale_linters/ruby/ruby.vim
After:
call ale#linter#Reset()
Execute(The ruby handler should parse lines correctly and add the column if it can):
" Point Error
" Warning
" Line Error
AssertEqual
\ [
\ {
\ 'lnum': 6,
\ 'col': 13,
\ 'type': 'E',
\ 'text': 'syntax error, unexpected '';'''
\ },
\ {
\ 'lnum': 9,
\ 'col': 0,
\ 'type': 'W',
\ 'text': 'warning: statement not reached'
\ },
\ {
\ 'lnum': 12,
\ 'col': 0,
\ 'type': 'E',
\ 'text': 'syntax error, unexpected end-of-input, expecting keyword_end'
\ }
\ ],
\ ale#handlers#ruby#HandleSyntaxErrors(255, [
\ "test.rb:6: syntax error, unexpected ';'",
\ " t = ;",
\ " ^",
\ "test.rb:9: warning: statement not reached",
\ "test.rb:12: syntax error, unexpected end-of-input, expecting keyword_end",
\ ])