Fork me on GitHub
#proton
<
2016-01-21
>
geksilla10:01:23

I wonder should we split html layer to smaller layer packages per template language

geksilla10:01:40

I've added it similar to spacemacs

geksilla10:01:37

but it adds a lot of packages that may not be useful for users

geksilla10:01:22

@dvcrn why we wipe user configuration? Just wondering are there some conflicts or caveats?

dvcrn10:01:53

I designed it so that 1 version of the .proton file always equals to 1 state of the editor. Proton should be able to reproduce 1 exact state whenever needed When I built sublimious (for sublimetext) I had it that separate settings were messing with the addon and suddenly it wasn’t sure anymore if there was an error with some user setting or with the addon itself

dvcrn10:01:22

Or stuff like, what if proton wants to set a key but the user set it before in his config? Which one is dominant? How can we know if the user set it before or if it was automatically set

geksilla10:01:33

got it, make sense. Thanks.

dvcrn10:01:08

that’s why I delete packages, deactivate them and kill everything else simple_smile

geksilla10:01:10

I was thinking that if proton needs to change config that was set by user it will be changed according current priority implementation

geksilla11:01:46

we change configs inside layers and if user don't like this change he can always add it to his .proton which has the highest priority

geksilla11:01:16

just want to figure out if removing is required

dvcrn11:01:32

we could add a key to deactivate this behaviour but I’m a big fan of the stateless design

dvcrn11:01:52

if possible I would even delete styles and keybindings but that wasn’t necessary yet simple_smile

geksilla11:01:49

I will try to do more stuff on weekends, currently have limited time(