mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:83f627ff42a3
runtime(racket): add missing space to b:undo_indent var (vim/vim#13945)
This copies commit 2a4862a (fixup! indent: only reset some options when
has vim9, 2024-01-31) from https://github.com/benknoble/vim-racket and
fixes 26b0176a9 (runtime(racket): undo some indent options only when
vim9script is available (vim/vim#13935), 2024-01-30).
83f627ff42
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
This commit is contained in:
parent
20f97af417
commit
e0961aaa5a
@ -3,7 +3,7 @@
|
|||||||
" Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com>
|
" Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com>
|
||||||
" Previous Maintainer: Will Langstroth <will@langstroth.com>
|
" Previous Maintainer: Will Langstroth <will@langstroth.com>
|
||||||
" URL: https://github.com/benknoble/vim-racket
|
" URL: https://github.com/benknoble/vim-racket
|
||||||
" Last Change: 2024 Jan 30
|
" Last Change: 2024 Jan 31
|
||||||
|
|
||||||
if exists("b:did_indent")
|
if exists("b:did_indent")
|
||||||
finish
|
finish
|
||||||
@ -66,4 +66,4 @@ setlocal lispwords+=if-view,case-view,cond-view,list-view,dyn-view
|
|||||||
setlocal lispwords+=case/dep
|
setlocal lispwords+=case/dep
|
||||||
setlocal lispwords+=define/obs
|
setlocal lispwords+=define/obs
|
||||||
|
|
||||||
let b:undo_indent = "setlocal lisp< ai< si< lw<" .. (has('vim9script') ? 'indentexpr< lispoptions<' : '')
|
let b:undo_indent = "setlocal lisp< ai< si< lw<" .. (has('vim9script') ? ' indentexpr< lispoptions<' : '')
|
||||||
|
Loading…
Reference in New Issue
Block a user