Some more work
This commit is contained in:
parent
00a6e2e4ea
commit
a63b9b895a
6 changed files with 90 additions and 58 deletions
|
|
@ -13,11 +13,11 @@ function! s:InfoImpl.run(data)
|
|||
let [_, ctype, name, type, filename, l, c, doc] = split(a:data.lines[0], " ")
|
||||
echohl Function | echon "Type"
|
||||
echohl Comment | echon ": "
|
||||
echohl Statement | echon type
|
||||
echohl Typedef | echon type
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
function! feature#info#run()
|
||||
function! features#info#run()
|
||||
call suggest#New("def", 0, s:InfoImpl)
|
||||
endfunction
|
||||
|
|
|
|||
|
|
@ -38,6 +38,3 @@ function! features#usages#run(findInProject)
|
|||
let s:findInProject = a:findInProject
|
||||
call suggest#New("use", 1, s:UsagesImpl)
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ endfunction
|
|||
|
||||
|
||||
function! highlighter#guard()
|
||||
" if line("$") + 0 < 500
|
||||
" call highlighter#New()
|
||||
" endif
|
||||
if line("$") + 0 < 500
|
||||
call highlighter#New()
|
||||
endif
|
||||
endfunction
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function! util#JumpToLocation(file, line, col)
|
|||
execute ":e " . a:file
|
||||
endif
|
||||
execute ":" . a:line
|
||||
execute ":norm " . a:col . "|"
|
||||
execute ":norm " . (a:col - 1) . "|"
|
||||
endfunction
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue