casperin / web-indent

Automatically exported from code.google.com/p/web-indent
0 stars 0 forks source link

Can't auto indent in insert mode #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enter insert mode
2. type {
3. type <Enter>

What is the expected output? What do you see instead?
Cursor should be indented, but not.

What version of the product are you using? On what operating system?
r15 on linux

Please provide any additional information below.
The 'indentkeys' has been set to empty in r15, is it right?

Original issue reported on code.google.com by perfectworks on 8 Sep 2011 at 7:25

GoogleCodeExporter commented 9 years ago
This works properly for me for <script> embedded in html, but not with a pure 
.js file

Original comment by agrif...@gmail.com on 1 Feb 2012 at 12:01

GoogleCodeExporter commented 9 years ago
That's because the indentkeys has been removed.  I was planning on writing my 
own key bindings to trigger indentation.  I was having lots of problems with 
indentkeys.  Will let you know the plan forward.

Original comment by pkopr...@gmail.com on 9 Feb 2012 at 3:31