On Thu, 2 Jan 2014 12:15:57 -0800 (PST)
Jack Kuan <kjk...@gmail.com> wrote:

> Hi,
> 
> I'm trying to configure the @string view-rendered-default-kind setting of 
> the viewrendered plugin, however, since this plugin is enabled by default 
> in leoSettings.leo
> it gets loaded before I have the chance to set the setting. Is there a way 
> to update the settings later at runtime? I guess I could also do it in 
> leoSettings.leo or remove
> it from enabled-plugins, but I really don't want to change the defaults.

if you put

  g.es(c.config.getString('view-rendered-default-kind'))

in a node by itself and Ctrl-B to run it, what's the value you see in
the log window?

It should be the most recently defined value according to
http://leoeditor.com/customizing.html

i.e. if you have it set properly in ~/.leo/myLeoSettings.leo, that's
the value you should see, unless you override it in the .leo file
you're looking at.

The point being that the plugin being enabled by default doesn't
interact with the priorities of settings, and you setting of
view-rendered-default-kind should be the one the plugin sees.

Cheers -Terry

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to