Skip to content

Commit f8e6107

Browse files
pkopriv2vim-scripts
authored andcommitted
Version 1.0
Release 1.0! - Removed indentKeys completely - Removed Logging - Continuation Lines Supported! - Refactored Logic.
1 parent 4ff8fa2 commit f8e6107

File tree

3 files changed

+262
-652
lines changed

3 files changed

+262
-652
lines changed

README

Lines changed: 5 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ This is a mirror of http://www.vim.org/scripts/script.php?script_id=3081
22

33
Hosted at: http://code.google.com/p/web-indent/
44

5+
*Update: (3/30/11) - Release Candidate 1.0 - Progress Started.
56
*Update: (5/14/10) - Beta 3.0 Released (See Below) (First Release Candidate)
67
*Update: (5/6/10) - Beta 2.2 Released (See Below)
78
*Update: (5/6/10) - Beta 2.1 Released (See Below)
@@ -70,6 +71,10 @@ Included Files:
7071

7172
Release Notes:
7273
================================================================================
74+
~1.0 Released: (5/15/10)
75+
- Fixed: Continuation Lines
76+
- Removed: Logging
77+
7378
~Beta 3.0 Released: (5/14/10)
7479
- Fixed: Runaway Indentation.
7580
- Fixed: indentkeys now correctly invoke indent.
@@ -82,63 +87,4 @@ Release Notes:
8287
\ Still no support for continuation lines.
8388
~
8489

85-
86-
~Beta 2.2 Released: (5/6/10)
87-
- Added: Support for enabling/disabling logging. (Enabled by default. To Disable: let g:js_indent_log = 0 somewhere in your .vimrc script)
88-
- Added: Support for while() control block.
89-
- Added: Support for do {} while(); control block.
90-
- Added: Support for with() {} control block.
91-
- Added: Skeleton support for all MULTI-LINE cntrl blocks SINGLE LINE cntrl blocks DO NOT HAVE SKELETON VERSIONS!!
92-
- Added: Skeleton support for function declarations.
93-
- Added: Skeleton support for basic objects.
94-
- Added: Tests for skeleton code.
95-
- Fixed: Html indent now correctly calls GetJsIndent() while inside <script type="text/javascript"></script>
96-
- Fixed: Html will now source the javascript.vim (indent file) via two methods:
97-
1. If g:js_indent is set and points to the location of the indent file, it will source it.
98-
2. Looks in your runtime path for indent/javascript.vim (sources first one found)
99-
- Added: Tests for HTML + JS
100-
- Notes:
101-
\ None
102-
~
103-
104-
~Beta 2.1 Released: (5/6/10)
105-
- Fixed: Object ending regex is now anchored to beginning and end of line and cannot contain preceding {'s or ['s.
106-
- Fixed: Multi Line Invocations.
107-
- Dependencies:
108-
\ Syntax Script must return *Comment* for any type of comment when invoked with synIDattr
109-
- Concerns:
110-
\ Multi Line Invocations must end in ; or , to be recognized (although JS doesn't specifically require this) (so as not confuse with multi line declarations)
111-
\ Does not recognize continuation lines.
112-
- Notes:
113-
\ Entire test.js file is now correctly indented (except for continuations)
114-
\ NOW SUPPORTS SKELETON CODE
115-
if(x) {
116-
} else if(y) {
117-
} else {
118-
}
119-
~
120-
121-
~Beta 2.0 Released: (5/5/10)
122-
- Now hosted on Google Code: http://code.google.com/p/web-indent/
123-
- Completely rewrote script
124-
- Fixed: Comments are determined by synIDAttr instead of Regex
125-
- Added: Anonymous function support. (function(){})();
126-
- Dependencies:
127-
\ None
128-
- Concerns:
129-
\ Too many if statements, but extremely well organized.
130-
\ Sometimes vim has trouble indenting an entire file. Have to scroll through to location above problem area and use =G again. Is this a problem with how the scripts get loaded?
131-
- Notes
132-
\ None
133-
~
134-
135-
~ Beta 1.0 Released: (5/3/10)
136-
- Initial Release
137-
- Dependencies:
138-
\ Javascript Syntax: http://www.vim.org/scripts/script.php?script_id=1491
139-
- Concerns:
140-
\ Comments are determined by regex (==> Cannot determine middle of block comments)
141-
\ Code is poorly organized and hard to understand.
142-
~
143-
14490
PS: I'm also not sure if I'm allowed to repost the html.vim, since I couldn't find a license for it. I'm pretty sure it was the one packaged with vim by default. If anyone has any objections, I'll take it down immediately.

0 commit comments

Comments
 (0)