Commit: runtime(elixir): missing undo_ftplugin for indentkeys

4 views
Skip to first unread message

Christian Brabandt

unread,
Dec 27, 2023, 1:45:07 PM12/27/23
to vim...@googlegroups.com
runtime(elixir): missing undo_ftplugin for indentkeys

Commit: https://github.com/vim/vim/commit/d1cea036467ca55d7698378679a1e32c9f056d59
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Dec 27 19:30:41 2023 +0100

runtime(elixir): missing undo_ftplugin for indentkeys

fixup after https://github.com/vim/vim/issues/13771

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/elixir.vim b/runtime/ftplugin/elixir.vim
index 29be4fa1e..d067f472b 100644
--- a/runtime/ftplugin/elixir.vim
+++ b/runtime/ftplugin/elixir.vim
@@ -1,7 +1,7 @@
" Elixir filetype plugin
" Language: Elixir
" Maintainer: Mitchell Hanberg <vimN...@mitchellhanberg.com>
-" Last Change: 2023 Dec 26
+" Last Change: 2023 Dec 27

if exists("b:did_ftplugin")
finish
@@ -33,7 +33,7 @@ setlocal indentkeys+=0=after,0=catch,0=do,0=else,0=end,0=rescue
" Enable keys that are usually the first keys in a line
setlocal indentkeys+=0->,0\|>,0},0],0),>

-let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms<'
+let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< indk<'

let &cpo = s:save_cpo
unlet s:save_cpo
Reply all
Reply to author
Forward
0 new messages