Skip to content

Don't wrap long lines in literal blocks #111

Description

@dantleech

Hi, thanks for this tool :)

We are trying to include some example mappings in the documentation:

" Phpactor does not assume any mappings automatically, the following mappings
" are available for you to copy: >
"
"   augroup PhpactorMappings
"     au!
"     ...
"     au FileType php nmap <buffer> <Leader>cc :PhpactorClassNew<CR>
"     au FileType php nmap <buffer> <silent> <Leader>ee :PhpactorExtractExpression<CR>
"     au FileType php vmap <buffer> <silent> <Leader>ee :<C-u>PhpactorExtractExpression<CR>
"     au FileType php vmap <buffer> <silent> <Leader>em :<C-u>PhpactorExtractMethod<CR>
"   augroup END
" <

But the longer lines wrap:

    au FileType php nmap <buffer> <Leader>cc :PhpactorClassNew<CR>
    au FileType php nmap <buffer> <silent> <Leader>ee
    :PhpactorExtractExpression<CR>
    au FileType php vmap <buffer> <silent> <Leader>ee
    :<C-u>PhpactorExtractExpression<CR>
    au FileType php vmap <buffer> <silent> <Leader>em
    :<C-u>PhpactorExtractMethod<CR>

Is it / can it be possible to disable wrapping in > < blocks?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions