Problem: No default indention and formatting when editing bpftrace files.
Solution: Set smartindent and formatoptions in bpftrace ftplugin, they
work very well for bpftrace code, we do not need any custom
indent script.
https://github.com/vim/vim/pull/18996
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks, but the indenting settings should belong into a new file runtime/indent/bpftrace.vim
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()