diff --git a/runtime/ftplugin/bpftrace.vim b/runtime/ftplugin/bpftrace.vim index b9ad1d13c1..73772b103d 100644 --- a/runtime/ftplugin/bpftrace.vim +++ b/runtime/ftplugin/bpftrace.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: bpftrace " Maintainer: Stanislaw Gruszka -" Last Change: 2025 Dec 05 +" Last Change: 2025 Dec 23 if exists('b:did_ftplugin') finish @@ -11,4 +11,6 @@ let b:did_ftplugin = 1 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// setlocal commentstring=//\ %s -let b:undo_ftplugin = "setlocal comments< commentstring<" +setlocal formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<"