view runtime/indent/vim.vim @ 33134:0db7088b659e v9.0.1849

patch 9.0.1849: CI error on different signedness in ex_cmds.c Commit: https://github.com/vim/vim/commit/c8a034210f043639f27b6f346c5a9933f17e7159 Author: Christian Brabandt <cb@256bit.org> Date: Sat Sep 2 21:48:46 2023 +0200 patch 9.0.1849: CI error on different signedness in ex_cmds.c Problem: CI error on different signedness Solution: cast unsigned to int Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Sep 2023 22:00:03 +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-=: