Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

vim-flow-plus

Requirements

Vim version that supports json_decode.

Install

If you use vim-plug:

Plug 'carlosrocha/vim-flow-plus'

Using

Display coverage

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:

coverage statusline

Commands

FlowCoverageToggle

Toggle to highlight uncovered expressions in the current file.

coverage highlight

FlowPrevRef

Go to the next reference of the variable under the cursor.

FlowNextRef

Go to the previous reference of the variable under the cursor.

FlowTypeAtPos

Displays the type of the variable under the cursor.

FlowGetDef

Go to the definition of the variable under the cursor.

About

Vim + Flow integration, includes coverage highlight

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.