Skip to content

Commit

Permalink
Merge pull request #22 from yochiyochirb/set-bukkuri-and-hatena-as-ke…
Browse files Browse the repository at this point in the history
…ywords-for-ruby

Ruby のファイルでは ! と ? を単語に含めるように設定
  • Loading branch information
5t111111 authored Jul 8, 2016
2 parents 6c5d040 + 0cb5859 commit 1b3a357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .vim/after/ftplugin/ruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ setlocal expandtab
setlocal tabstop=2
setlocal shiftwidth=2
setlocal softtabstop=0
setlocal iskeyword+=!,?

" Convert to new Hash syntax
nnoremap <Leader><Leader>rh :<C-u>%s/:\([^ ]*\)\(\s*\)=>/\1:/g<Return>
Expand Down

0 comments on commit 1b3a357

Please sign in to comment.