FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #447 from vim-ruby/set-undo_indent · vim-ruby/vim-ruby@393307c · GitHub

Commit 393307c

Browse files
authored
Merge pull request #447 from vim-ruby/set-undo_indent
Set b:undo_indent
2 parents 3b0c329 + 5f39b34 commit 393307c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎indent/ruby.vim‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ setlocal indentkeys=0{,0},0),0],!^F,o,O,e,:,.
4242
setlocal indentkeys+==end,=else,=elsif,=when,=in,=ensure,=rescue,==begin,==end
4343
setlocal indentkeys+==private,=protected,=public
4444

45+
let b:undo_indent = "setlocal indentexpr< indentkeys< smartindent<"
46+
4547
" Only define the function once.
4648
if exists("*GetRubyIndent")
4749
finish

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL