Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Commit: runtime(racket): undo some indent options only when vim9script is available (#13935)
8 views
Skip to first unread message
Christian Brabandt
unread,
Jan 30, 2024, 5:45:09 PM
1/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
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.knob...@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.knob...@gmail.com
>
Signed-off-by: Christian Brabandt <
c...@256bit.org
>
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 <
ben.knob...@gmail.com
>
" Previous Maintainer: Will Langstroth <
wi...@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,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<' : '')
Reply all
Reply to author
Forward
0 new messages