Skip to content

Commit

Permalink
runtime(racket): undo some indent options only when vim9script is ava…
Browse files Browse the repository at this point in the history
…ilable (#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>
  • Loading branch information
benknoble committed Jan 30, 2024
1 parent 1b7fbe7 commit 26b0176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/indent/racket.vim
Expand Up @@ -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
Expand Down Expand Up @@ -66,4 +66,4 @@ setlocal lispwords+=if-view,case-view,cond-view,list-view,dyn-view
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<' : '')

0 comments on commit 26b0176

Please sign in to comment.