runtime(elixir): fix indentation (#13771)

Commit: 
https://github.com/vim/vim/commit/7e27411007378e005339ef37503697ae7e183da1
Author: George GuimarĂ£es <[email protected]>
Date:   Wed Dec 27 15:06:05 2023 -0300

    runtime(elixir): fix indentation (https://github.com/vim/vim/issues/13771)
    
    
    Signed-off-by: George GuimarĂ£es <[email protected]>
    Signed-off-by: Mitchell Hanberg <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/ftplugin/elixir.vim b/runtime/ftplugin/elixir.vim
index 50f63673d..29be4fa1e 100644
--- a/runtime/ftplugin/elixir.vim
+++ b/runtime/ftplugin/elixir.vim
@@ -1,7 +1,7 @@
 " Elixir filetype plugin
 " Language: Elixir
 " Maintainer:  Mitchell Hanberg <[email protected]>
-" Last Change: 2022 Sep 20
+" Last Change: 2023 Dec 26
 
 if exists("b:did_ftplugin")
   finish
@@ -27,6 +27,12 @@ setlocal shiftwidth=2 softtabstop=2 expandtab iskeyword+=!,?
 setlocal comments=:#
 setlocal commentstring=#\ %s
 
+setlocal indentkeys=0#,!^F,o,O
+" Enable keys for blocks
+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 &cpo = s:save_cpo

-- 
-- 
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/E1rIYQr-00GpOu-Rt%40256bit.org.

Raspunde prin e-mail lui