Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Disabling the folding in json files? #63

Closed
rendragnet opened this Issue · 1 comment

2 participants

@rendragnet

HI There,

Absolutely LOVE your package, we deploy it on all our dev servers :)

One thing which is driving me bonkers though, is that whenever I open a json file, I get presented with a screen like the following:

1:composer.json X
+{...}------------------------------------------------------------------------------------------------------------------------------------------------------------------
~
~

Yep, It's folding the entire file ;) So I hit the right-arrow. And it unfolds one level.

1:composer.json X
-{
| "name": "yiisoft/yii2-app-advanced",
| "description": "Yii 2 Advanced Application Template",
| "keywords": ["yii2", "framework", "advanced", "application template"],
| "homepage": "http://www.yiiframework.com/",
| "type": "project",
| "license": "BSD-3-Clause",

  • "support": {...}------------------------------------------------------------------------------------------------------------------------------------------------------ | "minimum-stability": "beta",
  • "require": {...}------------------------------------------------------------------------------------------------------------------------------------------------------
  • "require-dev": {...}--------------------------------------------------------------------------------------------------------------------------------------------------
  • "suggest": {...}------------------------------------------------------------------------------------------------------------------------------------------------------
  • "scripts": {...}------------------------------------------------------------------------------------------------------------------------------------------------------
  • "config": {...}-------------------------------------------------------------------------------------------------------------------------------------------------------
  • "extra": {...}-------------------------------------------------------------------------------------------------------------------------------------------------------- |}

Is there a way to un-fold the entire file? Or have it NOT fold at all? :)

Thanks,

Damien

@amix
Owner

Please use zR.

You can read more about folding on :help folding

To disable folding use set foldlevelstart=99

Amir

@amix amix closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.