| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks @sebthom! I wonder what is the behavior when a file:
Is there the 3 folding strategies which are executed? |
Sorry, something went wrong.
|
That indeed is an interesting question. I gave it a try, the TMFoldingStrategy applied the language-configuration.json foldings and the CSS language server applied it's own overlapping foldings. they get merged. even if both apply foldings for the same regions you only see one folding indicator. |
Sorry, something went wrong.
|
It was my fear. I think folding should be done with one folding strategy. Use lsp at first. if not defined use language config and if it is not defined use textmate |
Sorry, something went wrong.
|
@angelozerr I updated the code so that the folding reconciler is deactivated when an LS is available for a document. |
Sorry, something went wrong.
Could it be instead deactivated if some other folding annotations, not coming from TM4E, are present? |
Sorry, something went wrong.
@mickaelistria This is not possible I believe. The order in which reconcilers are applied is not predictable. I guess it depends on plugin load order. The TM4E folding reconciler activation now works as follows: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Addresses #50