Skip to content

Commit db8e306

Browse files
committed
remove defnition group (not implement yet)
1 parent 7d892f9 commit db8e306

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

autoload/codequery/query.vim

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ let s:subcmd_map = { 'Symbol' : 1,
1313
\ 'Child' : 11,
1414
\ 'FunctionList' : 13,
1515
\ 'FileImporter' : 4,
16-
\ 'Text' : 21,
17-
\ 'DefinitionGroup' : 20 }
16+
\ 'Text' : 21 }
1817

1918

2019
function! s:create_grep_options(word) abort
@@ -49,10 +48,6 @@ function! s:create_grep_options(word) abort
4948
let g:codequery_last_query_word = a:word
5049
let g:last_query_fuzzy = g:codequery_fuzzy
5150
return
52-
53-
elseif g:codequery_querytype == s:subcmd_map['DefinitionGroup']
54-
echom 'Not Implement !'
55-
return
5651
endif
5752

5853
return [grepformat, grepprg]

plugin/codequery.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ command! -nargs=0 CodeQueryShowQF call
3636
\ codequery#query#prettify_qf_layout_and_map_keys(getqflist())
3737

3838
let g:codequery_subcommands = [ 'Symbol', 'Text',
39-
\ 'Definition', 'DefinitionGroup',
39+
\ 'Definition',
4040
\ 'Caller', 'Callee', 'Call',
4141
\ 'Class', 'Member', 'Parent', 'Child',
4242
\ 'FunctionList',

0 commit comments

Comments
 (0)