Some more work

This commit is contained in:
baabelfish 2016-01-30 20:10:24 +02:00
commit a63b9b895a
6 changed files with 90 additions and 58 deletions

View file

@ -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

View file

@ -38,6 +38,3 @@ function! features#usages#run(findInProject)
let s:findInProject = a:findInProject
call suggest#New("use", 1, s:UsagesImpl)
endfunction

View file

@ -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

View file

@ -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