I have imported the custom mode file (it's not in the same dir as the other ones, which are under node_modules), and set Ace's mode to 'custom'. Unfortunately it doesn't work, and looks for the mode file somewhere else (in the project root, dist/mode-custom.js).
What is the correct way to use custom modes in the NGX wrapper?
Hi, I have created a new mode for later customization, something like this (highlight rules also present):
I have imported the custom mode file (it's not in the same dir as the other ones, which are under node_modules), and set Ace's mode to 'custom'. Unfortunately it doesn't work, and looks for the mode file somewhere else (in the project root, dist/mode-custom.js).
What is the correct way to use custom modes in the NGX wrapper?
Thanks!