Yes, I believe it would :-) 

There still might be an issue with name collisions since @sql isn't
directly a mode (i.e. tsql) 
and creating a directive for every mode obviously wouldn't be ideal
either - 
but maybe a shorthand/mapping could be defined in the document Startup
section?
i.e. to map a local directive @sql (arbitrary) to a specific mode
assignment, like tsql.

I could also deal with buttons to assign/remove attributes but I'd need
to be able to view them.
The attributes plugin has still been on my list to try but haven't had
time to dive into it yet.

I understand these could also impact things like VR3 so I'm not quite
sure how that would factor in.
As it is, I already have to define in a comment, `-- language=sql`, for
pycharm to nest syntaxes, 
so aligning with this could work too.



On Thu, 2020-09-24 at 08:47 -0500, Edward K. Ream wrote:
> On Thu, Sep 24, 2020 at 8:32 AM <[email protected]> wrote:
> 
> > I've attached an example of how I'm wrapping the (t)sql nodes. 
> > 
> 
> Interesting!
> > I can deal with this, but it would be a lot cleaner if I could
> > assign the language directive either in just a sql comment (i.e. --
> > @language sql )
> > or using a uA/attribute or maybe something in the headline.
> > 
> 
> Would marking nodes with @sql help?
> 
> Edward
> -- 
> You received this message because you are subscribed to a topic in
> the Google Groups "leo-editor" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/leo-editor/pU1HOGQ6jXU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/CAMF8tS1WTzdoWhuzRWs3%3DCaw4ViB3s8Hxx-s1kvqkbOtbHEoKg%40mail.gmail.com
> .

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c50f1d18dd1b40a74737cc978af61d58e4fa8792.camel%40gmail.com.

Reply via email to