You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using fennel + aniseed to set my nvim config and everything works mostly fine but I found a little issue,
To begin with, this is my config structure:
I have in the init.lua just the code to load packer and aniseed and to set the aniseed#env to point to my.init
init.fnl loads options and plugins (in that order). Plugins setups packer to load the configs of each plugin on-demand ("pcalling" require). But my problem is that there are some options that have to be set before loading several plugins, as mapleader, maplocalleader and termguicolors. So I had to set those in init.lua as it's the only way I managed them to be loaded before the plugins configs (and it's required other way they still have the old values).
But I was checking your config and you didn't have to do that. Is there something I'm doing wrong, or missing?
I think I also ran into many issues if I let packer load the config, I could never get it to load fast enough, this way was the safest bet in my config at least. Maybe something similar will help you out too?
I'm going to close this for now, if you still require assistance feel free to reopen. Or maybe use the discussions tab, it's a great way to have a conversation about things that aren't exactly issues, just like a forum 🙂
I have been using fennel + aniseed to set my nvim config and everything works mostly fine but I found a little issue,
To begin with, this is my config structure:
I have in the init.lua just the code to load packer and aniseed and to set the
aniseed#env
to point tomy.init
init.fnl loads options and plugins (in that order). Plugins setups packer to load the configs of each plugin on-demand ("pcalling" require). But my problem is that there are some options that have to be set before loading several plugins, as
mapleader
,maplocalleader
andtermguicolors
. So I had to set those ininit.lua
as it's the only way I managed them to be loaded before the plugins configs (and it's required other way they still have the old values).But I was checking your config and you didn't have to do that. Is there something I'm doing wrong, or missing?
In case you wanna have a look, this my config, https://github.com/leiserfg/dots/tree/master/.config/nvim
The text was updated successfully, but these errors were encountered: