Fix typo in vim ruby ftplugin

This commit is contained in:
Talia 2020-08-19 14:13:48 +02:00
parent 02da84e98b
commit 4ab93a2ab6
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ augroup RUBY
end
let b:undo_ftplugin .= "augroup RUBY | au! | augroup END"
comm! -buffer AsyncLint call AsyncLint(bufnr("%"), b:linter->subsitute("%", expand("%"), "g"))
comm! -buffer AsyncLint call AsyncLint(bufnr("%"), b:linter->substitute("%", expand("%"), "g"))
let b:undo_ftplugin .= " | delcommand AsyncLint"
comm! -buffer Lint silent exec "%!".b:linter->substitute("$0", "\\\\$0", "g")->substitute("%", expand("%"), "g")
let b:undo_ftplugin .= " | delcommand Lint"