view runtime/indent/vim.vim @ 33162:5da7208ea315 v9.0.1863

patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr Commit: https://github.com/vim/vim/commit/7db89bdc23e53c7bc43af6f1c7281bc69a6a3098 Author: zeertzjq <zeertzjq@outlook.com> Date: Mon Sep 4 07:54:02 2023 +0200 patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr Problem: wrong format specifiers in e_aptypes_is_null_str_nr Solution: Fix the wrong format specifier closes: #13020 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Sep 2023 08:00:09 +0200
parents 4027cefc2aab
children 5ac476543458
line wrap: on
line source

vim9script

# Vim indent file
# Language:	Vim script
# Maintainer:	The Vim Project <https://github.com/vim/vim>
# Last Change:	2023 Aug 10
# Former Maintainer:	Bram Moolenaar <Bram@vim.org>

# Only load this indent file when no other was loaded.
if exists('b:did_indent')
    finish
endif

b:did_indent = true
b:undo_indent = 'setlocal indentkeys< indentexpr<'

import autoload '../autoload/dist/vimindent.vim'

setlocal indentexpr=vimindent.Expr()
setlocal indentkeys+==endif,=enddef,=endfu,=endfor,=endwh,=endtry,=endclass,=endinterface,=endenum,=},=else,=cat,=finall,=END,0\\
execute('setlocal indentkeys+=0=\"\\\ ,0=#\\\ ')
setlocal indentkeys-=0#
setlocal indentkeys-=: