Mercurial > vim
changeset 34243:42614cc15aa5
runtime(racket): undo some indent options only when vim9script is available (#13935)
Commit: https://github.com/vim/vim/commit/26b0176a98f88acef840d7285e967859eb746c1c
Author: D. Ben Knoble <ben.knoble+github@gmail.com>
Date: Tue Jan 30 17:32:59 2024 -0500
runtime(racket): undo some indent options only when vim9script is available (https://github.com/vim/vim/issues/13935)
This copies commit 64edf95 (indent: only reset some options when has
vim9, 2024-01-30) from https://github.com/benknoble/vim-racket.
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Jan 2024 23:45:02 +0100 |
parents | 2dae3f0bfa53 |
children | d15d40bf532b |
files | runtime/indent/racket.vim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/indent/racket.vim +++ b/runtime/indent/racket.vim @@ -3,7 +3,7 @@ " Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com> " Previous Maintainer: Will Langstroth <will@langstroth.com> " URL: https://github.com/benknoble/vim-racket -" Last Change: 2023 Jul 17 +" Last Change: 2024 Jan 30 if exists("b:did_indent") finish @@ -66,4 +66,4 @@ setlocal lispwords+=if-view,case-view,co setlocal lispwords+=case/dep setlocal lispwords+=define/obs -let b:undo_indent = "setlocal indentexpr< lisp< lispoptions< ai< si< lw<" +let b:undo_indent = "setlocal lisp< ai< si< lw<" .. (has('vim9script') ? 'indentexpr< lispoptions<' : '')