comparison runtime/ftplugin/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 43efa4f5a8ea
children 8ae680be2a51
comparison
equal deleted inserted replaced
18817:17aefb9d7c45 18818:5c40013d45ee
1 " Vim filetype plugin 1 " Vim filetype plugin
2 " Language: Haml 2 " Language: Haml
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
4 " Last Change: 2016 Aug 29 4 " Last Change: 2019 Dec 05
5 5
6 " Only do this when not done yet for this buffer 6 " Only do this when not done yet for this buffer
7 if exists("b:did_ftplugin") 7 if exists("b:did_ftplugin")
8 finish 8 finish
9 endif 9 endif
35 endif 35 endif
36 36
37 runtime! ftplugin/ruby.vim ftplugin/ruby_*.vim ftplugin/ruby/*.vim 37 runtime! ftplugin/ruby.vim ftplugin/ruby_*.vim ftplugin/ruby/*.vim
38 let b:did_ftplugin = 1 38 let b:did_ftplugin = 1
39 39
40 let &l:define .= empty(&l:define ? '' : '\|') . '^\s*\%(%\w*\)\=\%(\.[[:alnum:]_-]\+\)*#'
41
40 " Combine the new set of values with those previously included. 42 " Combine the new set of values with those previously included.
41 if exists("b:undo_ftplugin") 43 if exists("b:undo_ftplugin")
42 let s:undo_ftplugin = b:undo_ftplugin . " | " . s:undo_ftplugin 44 let s:undo_ftplugin = b:undo_ftplugin . " | " . s:undo_ftplugin
43 endif 45 endif
44 if exists ("b:browsefilter") 46 if exists ("b:browsefilter")
58 let b:match_words = s:match_words 60 let b:match_words = s:match_words
59 endif 61 endif
60 62
61 setlocal comments= commentstring=-#\ %s 63 setlocal comments= commentstring=-#\ %s
62 64
63 let b:undo_ftplugin = "setl cms< com< " 65 let b:undo_ftplugin = "setl def< cms< com< "
64 \ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin 66 \ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
65 67
66 let &cpo = s:save_cpo 68 let &cpo = s:save_cpo
67 unlet s:save_cpo 69 unlet s:save_cpo
68 70