Mercurial > vim
comparison runtime/indent/chaiscript.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 | 63b0b7b79b25 |
children |
comparison
equal
deleted
inserted
replaced
28378:b8d39e361293 | 28379:6dd88e45d47d |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: ChaiScript | 2 " Language: ChaiScript |
3 " Maintainer: Jason Turner <lefticus 'at' gmail com> | 3 " Maintainer: Jason Turner <lefticus 'at' gmail com> |
4 " Last Change: 2022 Apr 06 | |
4 | 5 |
5 " Only load this indent file when no other was loaded. | 6 " Only load this indent file when no other was loaded. |
6 if exists("b:did_indent") | 7 if exists("b:did_indent") |
7 finish | 8 finish |
8 endif | 9 endif |
9 let b:did_indent = 1 | 10 let b:did_indent = 1 |
10 | 11 |
11 setlocal indentexpr=GetChaiScriptIndent() | 12 setlocal indentexpr=GetChaiScriptIndent() |
12 setlocal autoindent | 13 setlocal autoindent |
14 | |
15 let b:undo_indent = "setl ai< inde<" | |
13 | 16 |
14 " Only define the function once. | 17 " Only define the function once. |
15 if exists("*GetChaiScriptIndent") | 18 if exists("*GetChaiScriptIndent") |
16 finish | 19 finish |
17 endif | 20 endif |