Skip to content

Commit

Permalink
Version 0.1.12
Browse files Browse the repository at this point in the history
Now you can use your own comment tag (not only C or C++). In this case, you have to define: 'g:DoxygenToolkit_startCommentTag', 'g:DoxygenToolkit_interCommentTag' and 'g:DoxygenToolkit_endCommentTag' in your .vimrc file.
  • Loading branch information
babaybus authored and vim-scripts committed Nov 6, 2010
1 parent ac10bed commit fc25325
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions plugin/DoxygenToolkit.vim
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,24 @@ endif
if !exists("g:DoxygenToolkit_classTag")
let g:DoxygenToolkit_classTag = "@class "
endif
let g:DoxygenToolkit_startCommentTag = "/** "
let g:DoxygenToolkit_interCommentTag = "* "
let g:DoxygenToolkit_endCommentTag = "*/"

if !exists("g:DoxygenToolkit_startCommentTag ")
let g:DoxygenToolkit_startCommentTag = "/** "
endif
if !exists("g:DoxygenToolkit_interCommentTag ")
let g:DoxygenToolkit_interCommentTag = "* "
endif
if !exists("g:DoxygenToolkit_endCommentTag ")
let g:DoxygenToolkit_endCommentTag = "*/"
endif
if exists("g:DoxygenToolkit_commentType")
if ( g:DoxygenToolkit_commentType == "C++" )
let g:DoxygenToolkit_startCommentTag = "/// "
let g:DoxygenToolkit_interCommentTag = "/// "
let g:DoxygenToolkit_endCommentTag = ""
endif
endif

if !exists("g:DoxygenToolkit_ignoreForReturn")
let g:DoxygenToolkit_ignoreForReturn = "inline static virtual void"
else
Expand Down

0 comments on commit fc25325

Please sign in to comment.