runtime(racket): undo some indent options only when vim9script is available (#13935)
Commit: https://github.com/vim/vim/commit/26b0176a98f88acef840d7285e967859eb746c1c Author: D. Ben Knoble <[email protected]> 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 <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/indent/racket.vim b/runtime/indent/racket.vim index 2d45d8924..bf6eeff7d 100644 --- a/runtime/indent/racket.vim +++ b/runtime/indent/racket.vim @@ -3,7 +3,7 @@ " Maintainer: D. Ben Knoble <[email protected]> " Previous Maintainer: Will Langstroth <[email protected]> " 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,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<' : '') -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1rUwqk-004IW0-Rl%40256bit.org.
