view runtime/indent/vim.vim @ 32393:ba9862df7d13 v9.0.1528

patch 9.0.1528: libsodium encryption is only used with "huge" features Commit: https://github.com/vim/vim/commit/dda01c05c2ded3f0d11703bd983a19b6ca7d5055 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 8 22:11:07 2023 +0100 patch 9.0.1528: libsodium encryption is only used with "huge" features Problem: Libsodium encryption is only used with "huge" features, even when manually enabled through configure. (Tony Mechelynck) Solution: Remove the condition on FEAT_HUGE.
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 May 2023 23:15:03 +0200
parents a9b5ffbc0428
children 4027cefc2aab
line wrap: on
line source

vim9script

# Vim indent file
# Language:	Vim script
# Maintainer:	Bram Moolenaar <Bram@vim.org>
# Last Change:	2023 Feb 02

# 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-=: