We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70b6b12 + 8c2812d commit c924cdeCopy full SHA for c924cde
ftplugin/ruby.vim
@@ -151,7 +151,7 @@ endif
151
function! s:map(mode, flags, map) abort
152
let from = matchstr(a:map, '\S\+')
153
if empty(mapcheck(from, a:mode))
154
- exe a:mode.'map' '<buffer>' a:map
+ exe a:mode.'map' . '<buffer>' . a:flags . a:map
155
let b:undo_ftplugin .= '|sil! '.a:mode.'unmap <buffer> '.from
156
endif
157
endfunction
0 commit comments