comparison runtime/indent/sdl.vim @ 25880:9c221ad9634a

Update runtime files Commit: https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 4 21:32:54 2021 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Oct 2021 22:45:05 +0200
parents 63b0b7b79b25
children
comparison
equal deleted inserted replaced
25879:14ca7cc78a56 25880:9c221ad9634a
1 " Vim indent file 1 " Vim indent file
2 " Language: SDL 2 " Language: SDL
3 " Maintainer: Michael Piefel <entwurf@piefel.de> 3 " Maintainer: Michael Piefel <entwurf@piefel.de>
4 " Last Change: 10 December 2011 4 " Last Change: 2021 Oct 03
5 5
6 " Shamelessly stolen from the Vim-Script indent file 6 " Shamelessly stolen from the Vim-Script indent file
7 7
8 " Only load this indent file when no other was loaded. 8 " Only load this indent file when no other was loaded.
9 if exists("b:did_indent") 9 if exists("b:did_indent")
11 endif 11 endif
12 let b:did_indent = 1 12 let b:did_indent = 1
13 13
14 setlocal indentexpr=GetSDLIndent() 14 setlocal indentexpr=GetSDLIndent()
15 setlocal indentkeys+==~end,=~state,*<Return> 15 setlocal indentkeys+==~end,=~state,*<Return>
16
17 let b:undo_indent = "setl inde< indk<"
16 18
17 " Only define the function once. 19 " Only define the function once.
18 if exists("*GetSDLIndent") 20 if exists("*GetSDLIndent")
19 " finish 21 " finish
20 endif 22 endif