summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/bpftrace.vim
blob: 73772b103da7f947b7c5e919b0f915f828e7765f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim filetype plugin
" Language:     bpftrace
" Maintainer:	Stanislaw Gruszka <stf_xl@wp.pl>
" Last Change:	2025 Dec 23

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
setlocal commentstring=//\ %s

setlocal formatoptions-=t formatoptions+=croql

let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<"