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

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 18:48
Parent(s): fd18dcb0a7d5bd722edd8c4373fa9e480882752f
Signing key:
Tree: 6238aa7bc1aa08884e95b94f6aa43984b8849c98
File Lines added Lines deleted
plugin/qthelp.vim 4 2
File plugin/qthelp.vim changed (mode: 100644) (index 1fec401..e1b17f7)
1 1 " Name: qthelp " Name: qthelp
2 2 " Author: xaizek (xaizek@lavabit.com) " Author: xaizek (xaizek@lavabit.com)
3 " Version: 1.1.2
3 " Version: 1.1.3
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
 
58 58 " v1.1.2 (2013-05-14) - Fixed support for latest versions of Qt " v1.1.2 (2013-05-14) - Fixed support for latest versions of Qt
59 59 " by the :QHelp command (thanks to Dmitry " by the :QHelp command (thanks to Dmitry
60 60 " Frank). " Frank).
61 " v1.1.3 (2013-05-14) - Fixed regular expression for filtering
62 " help tags (thanks to Dmitry Frank).
61 63
62 64 if exists("g:loaded_qthelp") if exists("g:loaded_qthelp")
63 65 finish finish
 
... ... endfunction
192 194 " tries to guess tag by its name and name of the class " tries to guess tag by its name and name of the class
193 195 function! s:QHGetWithoutAppleRef(tag, class) function! s:QHGetWithoutAppleRef(tag, class)
194 196 let l:lst = taglist('^'.a:tag.'$') let l:lst = taglist('^'.a:tag.'$')
195 call filter(l:lst, 'v:val["filename"] =~? "[/\]'.a:class.'\.html$"')
197 call filter(l:lst, 'v:val["filename"] =~? "[/\\\\]'.a:class.'\.html$"')
196 198 return l:lst return l:lst
197 199 endfunction endfunction
198 200
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