Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NERDLPlace & NERDRPlace are not working #134

Open
mMontu opened this issue Oct 26, 2013 · 0 comments
Open

NERDLPlace & NERDRPlace are not working #134

mMontu opened this issue Oct 26, 2013 · 0 comments
Labels

Comments

@mMontu
Copy link

mMontu commented Oct 26, 2013

NERDLPlace & NERDRPlace are not working.

The problem can be reproduced onn a fresh installation of gVim, with .vimrc containng only filetype plugin indent on and .vim containing only nerdcommenter files, by creating a .c file containing only the following lines:

abc
def
/* ghi */

Issuing gg3\cn3\c (where \ = ) leads to:

abc
def
[> ghi <]

The example given on h 'NERDLPlace' also doesn't works, leading to

FOO int horse BAR

As I don't understand why this feature is useful I'm not sure whether is better to fix it, remove or add an option to disable it.

In the meantime the following workaround seems to work for C/C++ file types:

let g:NERDLPlace='/*'
let g:NERDRPlace='*/'
@alerque alerque added the bug label May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants