runtime(bpftrace): add indention plugin

Commit: 
https://github.com/vim/vim/commit/ee3f10af8727c0c3ed554b6cda0904673273c8fc
Author: Stanislaw Gruszka <[email protected]>
Date:   Sat Dec 27 15:37:53 2025 +0000

    runtime(bpftrace): add indention plugin
    
    Problem:  No indention support when editing bpftrace files.
    Solution: Add indention settings based on cindent with custom options.
    
    closes: #19030
    
    Signed-off-by: Stanislaw Gruszka <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index 94c9eff88..3bb7a4825 100644
--- a/.github/MAINTAINERS
+++ b/.github/MAINTAINERS
@@ -338,6 +338,7 @@ runtime/import/dist/vimhighlight.vim                        
@lacygoill
 runtime/indent/arduino.vim                             @k-takata
 runtime/indent/astro.vim                               @wuelnerdotexe
 runtime/indent/basic.vim                               @dkearns
+runtime/indent/bpftrace.vim                            @sgruszka
 runtime/indent/bst.vim                                 @tpope
 runtime/indent/cdl.vim                                 @dkearns
 runtime/indent/chatito.vim                             @ObserverOfTime
diff --git a/runtime/indent/bpftrace.vim b/runtime/indent/bpftrace.vim
new file mode 100644
index 000000000..f00549778
--- /dev/null
+++ b/runtime/indent/bpftrace.vim
@@ -0,0 +1,19 @@
+" Vim indent file
+" Language:     bpftrace
+" Author:       Stanislaw Gruszka <[email protected]>
+" Last Change:  2025 Dec 27
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+    finish
+endif
+let b:did_indent = 1
+
+setlocal noautoindent nosmartindent
+
+setlocal cindent
+setlocal cinoptions=+0,(0,[0,Ws,J1,j1,m1,>s
+setlocal cinkeys=0{,0},!^F,o,O,#0
+setlocal cinwords=
+
+let b:undo_indent = "setlocal autoindent< smartindent< cindent< cinoptions< 
cinkeys< cinwords<"

-- 
-- 
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 visit 
https://groups.google.com/d/msgid/vim_dev/E1vZWTY-000tSS-Tn%40256bit.org.

Raspunde prin e-mail lui