Skip to content

Commit 26b0176

Browse files
authored
runtime(racket): undo some indent options only when vim9script is available (#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 <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 1b7fbe7 commit 26b0176

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/indent/racket.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: D. Ben Knoble <[email protected]>
44
" Previous Maintainer: Will Langstroth <[email protected]>
55
" URL: https://github.com/benknoble/vim-racket
6-
" Last Change: 2023 Jul 17
6+
" Last Change: 2024 Jan 30
77

88
if exists("b:did_indent")
99
finish
@@ -66,4 +66,4 @@ setlocal lispwords+=if-view,case-view,cond-view,list-view,dyn-view
6666
setlocal lispwords+=case/dep
6767
setlocal lispwords+=define/obs
6868

69-
let b:undo_indent = "setlocal indentexpr< lisp< lispoptions< ai< si< lw<"
69+
let b:undo_indent = "setlocal lisp< ai< si< lw<" .. (has('vim9script') ? 'indentexpr< lispoptions<' : '')

0 commit comments

Comments
 (0)