comparison runtime/indent/objc.vim @ 28379:6dd88e45d47d

Update runtime files Commit: https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 8 17:45:08 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 08 Apr 2022 19:00:04 +0200
parents 11b656e74444
children
comparison
equal deleted inserted replaced
28378:b8d39e361293 28379:6dd88e45d47d
1 " Vim indent file 1 " Vim indent file
2 " Language: Objective-C 2 " Language: Objective-C
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> 3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
4 " Last Change: 2004 May 16 4 " Last Change: 2022 Apr 06
5 "
6
7 5
8 " Only load this indent file when no other was loaded. 6 " Only load this indent file when no other was loaded.
9 if exists("b:did_indent") 7 if exists("b:did_indent")
10 finish 8 finish
11 endif 9 endif
16 setlocal indentexpr=GetObjCIndent() 14 setlocal indentexpr=GetObjCIndent()
17 15
18 " To make a colon (:) suggest an indentation other than a goto/switch label, 16 " To make a colon (:) suggest an indentation other than a goto/switch label,
19 setlocal indentkeys-=: 17 setlocal indentkeys-=:
20 setlocal indentkeys+=<:> 18 setlocal indentkeys+=<:>
19
20 let b:undo_indent = "setl cin< inde< indk<"
21 21
22 " Only define the function once. 22 " Only define the function once.
23 if exists("*GetObjCIndent") 23 if exists("*GetObjCIndent")
24 finish 24 finish
25 endif 25 endif