Mercurial > vim
comparison runtime/indent/tf.vim @ 28620:4d76b3e07c07
Update runtime files
Commit: https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 27 15:25:03 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 27 Apr 2022 16:30:04 +0200 |
parents | 1218c5353e2b |
children |
comparison
equal
deleted
inserted
replaced
28619:844548ee1919 | 28620:4d76b3e07c07 |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: tf (TinyFugue) | 2 " Language: tf (TinyFugue) |
3 " Maintainer: Christian J. Robinson <heptite@gmail.com> | 3 " Maintainer: Christian J. Robinson <heptite@gmail.com> |
4 " URL: http://www.vim.org/scripts/script.php?script_id=174 | 4 " URL: http://www.vim.org/scripts/script.php?script_id=174 |
5 " Last Change: 2017 Feb 25 | 5 " Last Change: 2022 Apr 25 |
6 | 6 |
7 " Only load this indent file when no other was loaded. | 7 " Only load this indent file when no other was loaded. |
8 if exists("b:did_indent") | 8 if exists("b:did_indent") |
9 finish | 9 finish |
10 endif | 10 endif |
11 let b:did_indent = 1 | 11 let b:did_indent = 1 |
12 | 12 |
13 setlocal indentexpr=GetTFIndent() | 13 setlocal indentexpr=GetTFIndent() |
14 setlocal indentkeys-=0{,0} indentkeys-=0# indentkeys-=: | 14 setlocal indentkeys-=0{,0} indentkeys-=0# indentkeys-=: |
15 setlocal indentkeys+==/endif,=/then,=/else,=/done,0; | 15 setlocal indentkeys+==/endif,=/then,=/else,=/done,0; |
16 | |
17 let b:undo_indent = "setlocal indentexpr< indentkeys<" | |
16 | 18 |
17 " Only define the function once: | 19 " Only define the function once: |
18 if exists("*GetTFIndent") | 20 if exists("*GetTFIndent") |
19 finish | 21 finish |
20 endif | 22 endif |