Skip to content

Commit 502d3af

Browse files
committed
Checkout gtkdoc as submodule
1 parent e4ffa8c commit 502d3af

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "gtkdoc"]
2+
path = gtkdoc
3+
url = git://github.com/eiiches/gtkdoc.git

autoload/ref/gtkdoc.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
let s:save_cpo = &cpo
99
set cpo&vim
1010

11+
if !exists('g:ref_gtkdoc_cmd')
12+
let g:ref_gtkdoc_cmd = globpath(&rtp, 'gtkdoc/gtkdoc', 1)
13+
endif
14+
1115
let s:source = {'name': 'gtkdoc'} " {{{1
1216

1317
function! s:source.available() " {{{2
@@ -27,7 +31,6 @@ function! s:source.normalize(query) " {{{2
2731
return substitute(substitute(a:query, '\_s\+', ' ', 'g'), '^ \| $', '', 'g')
2832
endfunction
2933

30-
3134
" misc. {{{1
3235
function! s:syntax(query) " {{{2
3336
if exists('b:current_syntax') && b:current_syntax == 'ref-gtkdoc'
@@ -43,7 +46,6 @@ function! s:syntax(query) " {{{2
4346
endif
4447
endfunction
4548

46-
4749
function! ref#gtkdoc#define() " {{{2
4850
return s:source
4951
endfunction

gtkdoc

Submodule gtkdoc added at 173f9fb

0 commit comments

Comments
 (0)