mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 12:14:26 +08:00
Use camel case for public functions
This commit is contained in:
@@ -37,8 +37,8 @@ augroup rhubarb
|
||||
\ exists('+omnifunc') &&
|
||||
\ &omnifunc =~# '^\%(syntaxcomplete#Complete\)\=$' &&
|
||||
\ !empty(filter(s:Config(),
|
||||
\ '!empty(rhubarb#homepage_for_url(matchstr(v:val, ''^\s*url\s*=\s*"\=\zs\S*'')))')) |
|
||||
\ setlocal omnifunc=rhubarb#omnifunc |
|
||||
\ '!empty(rhubarb#HomepageForUrl(matchstr(v:val, ''^\s*url\s*=\s*"\=\zs\S*'')))')) |
|
||||
\ setlocal omnifunc=rhubarb#Complete |
|
||||
\ endif
|
||||
autocmd BufEnter *
|
||||
\ if expand('%') ==# '' && &previewwindow && pumvisible() && getbufvar('#', '&omnifunc') ==# 'rhubarb#omnifunc' |
|
||||
@@ -50,6 +50,6 @@ if !exists('g:fugitive_browse_handlers')
|
||||
let g:fugitive_browse_handlers = []
|
||||
endif
|
||||
|
||||
if index(g:fugitive_browse_handlers, function('rhubarb#fugitive_url')) < 0
|
||||
call insert(g:fugitive_browse_handlers, function('rhubarb#fugitive_url'))
|
||||
if index(g:fugitive_browse_handlers, function('rhubarb#FugitiveUrl')) < 0
|
||||
call insert(g:fugitive_browse_handlers, function('rhubarb#FugitiveUrl'))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user