Closed borsTiHD closed 1 year ago
Hi all, I don't know if its really a bug, or if I didn't set it up correctly. But I dont have a working auto-indent on new lines.
The thing is, it isn't even working on your documentation/examples for vue-codemirror ( https://github.surmon.me/vue-codemirror - set language to yaml ). With the older codemirror 5 mode, however, it works perfectly ( https://codemirror.net/5/mode/yaml/index.html ).
Can someone please help me?
Try the official example page for yaml:
na
npm
Nevermind... it's working after I upgraded @codemirror/legacy-modes from 6.1.0 to the latest 6.3.0. Thanks for your hard work. :D
@codemirror/legacy-modes
6.1.0
6.3.0
Describe the bug
Hi all, I don't know if its really a bug, or if I didn't set it up correctly.
But I dont have a working auto-indent on new lines.
The thing is, it isn't even working on your documentation/examples for vue-codemirror ( https://github.surmon.me/vue-codemirror - set language to yaml ).
With the older codemirror 5 mode, however, it works perfectly ( https://codemirror.net/5/mode/yaml/index.html ).
Can someone please help me?
Reproduction
Try the official example page for yaml:
System Info
Used Package Manager
npm
Validations