Skip to content

Commit 428a4c6

Browse files
committed
Добавлена поддержка tagbar
1 parent a9d7528 commit 428a4c6

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

plugin/bsl.vim

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
"Поддержка tagbar
3+
let g:tagbar_type_bsl = {
4+
\ 'ctagstype' : 'bsl',
5+
\ 'kinds' : [
6+
\ 'p:Procedures',
7+
\ 'f:Functions'
8+
\ ]
9+
\ }

setup/.ctags

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--langdef=bsl
2+
--langmap=bsl:.bsl.os
3+
--regex-bsl=/^[ \t]*Функция[ \t]+([^\(]*)/\1/f,function,functions/i
4+
--regex-bsl=/^[ \t]*Function[ \t]+([^\(]*)/\1/f,function,functions/i
5+
--regex-bsl=/^[ \t]*Процедура[ \t]+([^\(]*)/\1/p,procedure,procedures/i
6+
--regex-bsl=/^[ \t]*Procedure[ \t]+([^\(]*)/\1/p,procedure,procedures/i

0 commit comments

Comments
 (0)