Timeline for Why does the syntax foldmethod not work even though syntax highlighting works?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 7, 2022 at 14:58 | history | suggested | user25807 | CC BY-SA 4.0 |
Double negation in title
|
Dec 7, 2022 at 11:25 | review | Suggested edits | |||
S Dec 7, 2022 at 14:58 | |||||
Mar 4, 2022 at 1:49 | comment | added | toraritte | Yep, that was it. Feel like an idiot, but at least it works..:) Thank you to both of you! (.. and if an answer is posted, will accept it right away.) | |
Mar 3, 2022 at 23:40 | comment | added | filbranden |
Try adding let g:javaScript_fold = 1 to your vimrc file? Let me know if that works for you, I can turn it into an answer then... (Though I see Heptite got there first, so I'll leave it to them to post it as an answer.)
|
|
Mar 3, 2022 at 23:31 | comment | added | Heptite |
You need to set the variable javaScript_fold before you edit a JavaScript file: :let g:javaScript_fold = 1
|
|
Mar 3, 2022 at 23:15 | history | asked | toraritte | CC BY-SA 4.0 |