comparison runtime/indent/haml.vim @ 18818:5c40013d45ee

Update runtime files. Commit: https://github.com/vim/vim/commit/c08ee7476b19f9b4de5df287797af87c4e3fba0a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 5 22:47:25 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Dec 2019 23:00:04 +0100
parents 63b0b7b79b25
children dce918af0c00
comparison
equal deleted inserted replaced
18817:17aefb9d7c45 18818:5c40013d45ee
1 " Vim indent file 1 " Vim indent file
2 " Language: Haml 2 " Language: Haml
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
4 " Last Change: 2017 Jun 13 4 " Last Change: 2019 Dec 05
5 5
6 if exists("b:did_indent") 6 if exists("b:did_indent")
7 finish 7 finish
8 endif 8 endif
9 runtime! indent/ruby.vim 9 runtime! indent/ruby.vim
10 unlet! b:did_indent 10 unlet! b:did_indent
11 let b:did_indent = 1 11 let b:did_indent = 1
12 12
13 setlocal autoindent sw=2 et 13 setlocal autoindent
14 setlocal indentexpr=GetHamlIndent() 14 setlocal indentexpr=GetHamlIndent()
15 setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when 15 setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when
16 16
17 " Only define the function once. 17 " Only define the function once.
18 if exists("*GetHamlIndent") 18 if exists("*GetHamlIndent")