Give language scripts more customization of the CodeEdit node
Is your feature request related to a problem? Please describe. I think that in languages like Lua where they don't use braces for starting and ending blocks, it would be benefit us if we were able to change certain things like:
Describe the solution you'd like
Allow more access of the CodeEdit node. For example, we'd have a global called editor and we could change some properties.
However, I think some properties shouldn't be accessible,
such as the theme properties, they should only be accessible to theme scripts.
I think I might be able to contribute some of this.
To add to this, editor.disable_everything() should exist for stuff that doesn't need highlighting, autocomplete, etc.
Example: .txt files should not have any highlighting, so therefore txt.lua should be just editor.disable_everything()
You can also just make it so if no lua file is present it doesn't do default highlights.