File plugin/qthelp.vim changed (mode: 100644) (index e1b17f7..1ec8219) |
1 |
1 |
" Name: qthelp |
" Name: qthelp |
2 |
2 |
" Author: xaizek (xaizek@lavabit.com) |
" Author: xaizek (xaizek@lavabit.com) |
3 |
|
" Version: 1.1.3 |
|
|
3 |
|
" Version: 1.1.4 |
4 |
4 |
" |
" |
5 |
5 |
" Description: This plugin would allow you to open Qt help pages in browser |
" Description: This plugin would allow you to open Qt help pages in browser |
6 |
6 |
" from your C++ source code. Currently it can show help if the word |
" from your C++ source code. Currently it can show help if the word |
|
60 |
60 |
" Frank). |
" Frank). |
61 |
61 |
" v1.1.3 (2013-05-14) - Fixed regular expression for filtering |
" v1.1.3 (2013-05-14) - Fixed regular expression for filtering |
62 |
62 |
" help tags (thanks to Dmitry Frank). |
" help tags (thanks to Dmitry Frank). |
|
63 |
|
" v1.1.4 (2013-05-15) - Fixed issue with 'shellslash' option on |
|
64 |
|
" Windows (thanks to Dmitry Frank). |
63 |
65 |
|
|
64 |
66 |
if exists("g:loaded_qthelp") |
if exists("g:loaded_qthelp") |
65 |
67 |
finish |
finish |
|
... |
... |
endfunction |
222 |
224 |
|
|
223 |
225 |
" opens users browser |
" opens users browser |
224 |
226 |
function! s:QHOpenBrowser(file) |
function! s:QHOpenBrowser(file) |
|
227 |
|
let l:shellslash = &shellslash |
|
228 |
|
if has('win32') && &shellslash |
|
229 |
|
set noshellslash |
|
230 |
|
endif |
|
231 |
|
|
225 |
232 |
if s:debugging == 1 |
if s:debugging == 1 |
226 |
233 |
return |
return |
227 |
234 |
endif |
endif |
|
... |
... |
function! s:QHOpenBrowser(file) |
239 |
246 |
call s:QHTellUser('An error occuried while running your browser. ' |
call s:QHTellUser('An error occuried while running your browser. ' |
240 |
247 |
\.'Maybe your g:qthelp_browser option is incorrect.') |
\.'Maybe your g:qthelp_browser option is incorrect.') |
241 |
248 |
endtry |
endtry |
|
249 |
|
|
|
250 |
|
let &shellslash = l:shellslash |
242 |
251 |
endfunction |
endfunction |
243 |
252 |
|
|
244 |
253 |
" lets tell user about what we have found |
" lets tell user about what we have found |