xaizek / vim-qthelp (License: Unspecified) (since 2018-12-07)
This plugin opens Qt help pages in browser from C++ source code.
Commit 49351020ff8c54682db5353f04193df9b0a18a92

Fix regular expression for filtering help tags
Filter string didn't contain enough backslashes needed because of
double quotes.

Thanks to Dmitry Frank.
Author: xaizek
Author date (UTC): 2013-03-09 14:44
Committer name: xaizek
Committer date (UTC): 2013-06-10 19:00
Parent(s): 36a12bf3747a6fd5216e0624449b745d0be68d2f
Signing key:
Tree: aa4f536ac27d78ea93205896997ad0764014b6d0
File Lines added Lines deleted
plugin/qthelp.vim 10 1
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
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vim-qthelp

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vim-qthelp

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master