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

jump disrupts indentation when nested #222

Closed
perrin4869 opened this issue Jun 13, 2015 · 0 comments
Closed

jump disrupts indentation when nested #222

perrin4869 opened this issue Jun 13, 2015 · 0 comments

Comments

@perrin4869
Copy link

For some reason when jumping out of a block, the indentation gets broken. In a random javascript file (e.g., vim foo.js):

function() {
    function() {
        |
    }
};

If I try to jump at that point (in my case with <C-d>, as per my vimrc: silent! imap <unique> <C-d> <Plug>delimitMateS-Tab) I get:

function() {
    function() {

            |}
};

I tried this on a vanilla vim installation, on both a javascript and a c file. My config is:

" Delimitmate options
let delimitMate_expand_cr = 1
let delimitMate_expand_space = 1
let delimitMate_jump_expansion = 1

I'd appreciate it if you looked into it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant