diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-12 03:53:53 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-12 03:53:53 -0500 |
commit | ebbf79f6088d8f091a61346ae5dec6f1762b4adb (patch) | |
tree | bc1ba72f3451658ba11c34fbf7a9f0933e278ed2 /vim/.vim/ftplugin/ruby.vim | |
parent | 8bf3ce3b6c3f850817190f5ef8936440b5409cd6 (diff) | |
download | conf-ebbf79f6088d8f091a61346ae5dec6f1762b4adb.tar.gz conf-ebbf79f6088d8f091a61346ae5dec6f1762b4adb.zip |
remove vim config
Diffstat (limited to 'vim/.vim/ftplugin/ruby.vim')
-rw-r--r-- | vim/.vim/ftplugin/ruby.vim | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vim/.vim/ftplugin/ruby.vim b/vim/.vim/ftplugin/ruby.vim deleted file mode 100644 index 035f432..0000000 --- a/vim/.vim/ftplugin/ruby.vim +++ /dev/null @@ -1,25 +0,0 @@ -function! s:rubocop_in_bundler() - let l:gemfiles = glob("*.gemspec", 1, 1) - if filereadable("Gemfile") - let l:gemfiles += ["Gemfile"] - endif - for l:file in l:gemfiles - for l:line in readfile(l:file) - if l:line =~ 'gem.*rubocop' - return 1 - endif - endfor - endfor - return 0 -endfunction -if s:rubocop_in_bundler() - let b:ale_ruby_rubocop_executable = 'bundle' -endif - -" look up words in ri rather than man for K -function! s:ri(word) - exe 'silent read! ri -T -f rdoc "' . a:word . '" 2>/dev/null' - setlocal ft= -endfunction -nnoremap <buffer> <silent>K :call Help(0, [':', '.'], '<SID>ri')<CR> -vnoremap <buffer> <silent>K :call Help(1, [':', '.'], '<SID>ri')<CR> |