📦 Better Lazy Config

- Use proper directory structure
- Loading order improved
This commit is contained in:
2024-07-16 17:35:52 -04:00
parent d05d335464
commit 302817f9dd
5 changed files with 41 additions and 40 deletions
+9 -17
View File
@@ -1,20 +1,12 @@
-- -----------------------------------------------------------------------------
-- --------------------------------- OPTIONS -----------------------------------
-- ---------------------------------- USER -------------------------------------
-- -----------------------------------------------------------------------------
-- ----------------------------------- LSP --------------------------------------
vim.g.loaded_perl_provider = 0
vim.g.lazyvim_python_lsp = "basedpyright"
-- ---------------------------------- STYLE ------------------------------------
-- Apply the colorscheme
vim.cmd.colorscheme(STORED_THEME or KITTY_THEME or "catppuccin-frappe")
-- ------------------------------- CLIENT APPS ---------------------------------
if vim.g.neovide then
-- ----------------------- Neovide -------------------------
require("config.neovide")
end
-- -------------------------------- KEYBINDS -----------------------------------
require("config.keybinds")
----------- Apply the colorscheme -----------
-- 1. Restore last colorscheme if it exists
-- 2. Use kitty theme if it exists
-- 3. Fallback to Catppuccin Frappe
-- 4. Fallback to Tokyonight
vim.cmd.colorscheme(
STORED_THEME or KITTY_THEME or "catppuccin-frappe" or "tokyonight"
)