Closed walkdoer closed 9 years ago
It works as expected for me. Go into delimitMate's dir and run the following:
vim -N -u test/_setup.vim -c 'filetype indent plugin on' -c 'let delimitMate_expand_cr=1' -c 'e foo.js'
then see if the issue remains. That'll open vim with just delimitMate as the only plugin and no extra settings.
hi @Raimondi , when I run vim just with delimiMate. everything is just fine.
So I run command verbose map :
to check if there's a shortcut key map to :
(because in step 3 i type a:
into the buffer ), But the result is no mapping found.
Do you have some clue?
And the error is only happen when inside curly brackets {}
, other like () []
is just fine.
:laughing: Finally, I found. because set cindent
, But after delete cindent config, new problem pop up :cry:
Open: (|)
Delete: |
Exit: ()|
Car return: (
|
)
Delete car return: (|
)
I still can't reproduce the problem with cindent on, which is the default for the javascript fileype. I need step by step instruction to reproduce it and see if I can fix it.
Hi @Raimondi :
I use vim to edit javascript file,and came across to this problem.
Problem Description:
step 1:
step 2: press enter
step 3: after I input " a: ",
I can not figure out why. Hope to get some help from you @Raimondi This is my .vimrc file
and This is the test result
Thanks!