aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test3.ok
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/testdir/test3.ok')
-rw-r--r--src/nvim/testdir/test3.ok50
1 files changed, 28 insertions, 22 deletions
diff --git a/src/nvim/testdir/test3.ok b/src/nvim/testdir/test3.ok
index d73a5e1230..0d0e76fce4 100644
--- a/src/nvim/testdir/test3.ok
+++ b/src/nvim/testdir/test3.ok
@@ -1707,10 +1707,10 @@ JSEND
JSSTART
var foo = [
-1, // indent 8 more
+ 1,
2,
3
- ]; // indent 8 less
+];
JSEND
@@ -1720,7 +1720,7 @@ function bar() {
1,
2,
3
- ]; // indent 16 less
+ ];
}
JSEND
@@ -1728,6 +1728,12 @@ JSEND
JSSTART
(function($){
+ if (cond &&
+ cond) {
+ stmt;
+ }
+ window.something.left =
+ (width - 50 + offset) + "px";
var class_name='myclass';
function private_method() {
@@ -1743,15 +1749,15 @@ JSSTART
$(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
- bar: 2, // indent 8 more
- foobar: [ // indent 8 more
- 1, // indent 8 more
- 2, // indent 16 more
- 3 // indent 16 more
+ bar: 2,
+ foobar: [
+ 1,
+ 2,
+ 3
],
- callback: function(){ // indent 8 more
- return true; // indent 8 more
- } // indent 8 more
+ callback: function(){
+ return true;
+ }
}, options||{}));
}
@@ -1787,9 +1793,9 @@ function init(options) {
foo: 'bar',
bar: 2,
foobar: [
- 1, // indent 8 more
- 2, // indent 8 more
- 3 // indent 8 more
+ 1,
+ 2,
+ 3
],
callback: function(){
return true;
@@ -1804,15 +1810,15 @@ JSSTART
function init(options) {
$(this).data(class_name+'_public',$.extend({},{
foo: 'bar',
- bar: 2, // indent 8 more
- foobar: [ // indent 8 more
- 1, // indent 8 more
- 2, // indent 16 more
- 3 // indent 16 more
+ bar: 2,
+ foobar: [
+ 1,
+ 2,
+ 3
],
- callback: function(){ // indent 8 more
- return true; // indent 8 more
- } // indent 8 more
+ callback: function(){
+ return true;
+ }
}, options||{}));
}
})(jQuery);