Vim version that supports json_decode
.
If you use vim-plug:
Plug 'carlosrocha/vim-flow-plus'
Using lightline:
let g:lightline = {
"...
\ 'right': [ [ 'percent', 'lineinfo' ],
\ [ 'syntastic', 'flow' ],
\ [ 'fileformat', 'fileencoding', 'filetype' ] ],
\ },
\ 'component_function': {
" ...
\ 'flow': 'LightlineFlowCoverage',
" ...
\ },
\ }
function! LightlineFlowCoverage()
if exists('b:flow_coverage_status')
return b:flow_coverage_status
endif
return ''
endfunction
Result:
Toggle to highlight uncovered expressions in the current file.
Go to the next reference of the variable under the cursor.
Go to the previous reference of the variable under the cursor.
Displays the type of the variable under the cursor.
Go to the definition of the variable under the cursor.