Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
dtrace.vim42 linesDownload Raw Back to ftplugin
1" Language: D script as described in "Solaris Dynamic Tracing Guide",2"           http://docs.sun.com/app/docs/doc/817-62233" Last Change: 2008/03/204"              2024/05/23 by Riley Bruins <ribru17@gmail.com ('commentstring')5" Version: 1.26" Maintainer: Nicolas Weber <nicolasweber@gmx.de>7 8" Only do this when not done yet for this buffer9if exists("b:did_ftplugin")10  finish11endif12 13" Don't load another plugin for this buffer14let b:did_ftplugin = 115 16" Using line continuation here.17let s:cpo_save = &cpo18set cpo-=C19 20let b:undo_ftplugin = "setl fo< com< cms< isk<"21 22" Set 'formatoptions' to break comment lines but not other lines,23" and insert the comment leader when hitting <CR> or using "o".24setlocal fo-=t fo+=croql25 26" Set 'comments' to format dashed lists in comments.27setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/28 29" dtrace uses /* */ comments. Set this explicitly, just in case the user30" changed this (/*\ %s\ */ is the default)31setlocal commentstring=/*\ %s\ */32 33setlocal iskeyword+=@,$34 35" When the matchit plugin is loaded, this makes the % command skip parens and36" braces in comments.37let b:match_words = &matchpairs38let b:match_skip = 's:comment\|string\|character'39 40let &cpo = s:cpo_save41unlet s:cpo_save42 
codekingpro/portable-devtools · Team Ai