-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
38 lines (36 loc) · 1.26 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--[[
-- Neovim Global Configuration
-- Author: Mark van der Meulen
-- Updated: 2024-08-22
--]]
-----------------------------------------------
-- Key Setup
-----------------------------------------------
vim.g.mapleader = ' '
vim.g.log_level = 'warn' -- Use this for global debugging
-- place for personal utility & configuration options
_G.my = {}
_G.my.plugins = {}
_G.my.plugins.themes = require('config.vdm.theme-plugins')
_G.my.ui = { theme = 'catpuccin-mocha', bg = 'dark' }
-- _G.my.ui = { theme = 'kanagawa', bg = 'dark' }
-- _G.my.ui = { theme = 'rose-pine', bg = 'dark' }
-- _G.my.ui = { theme = 'aura-soft-dark', bg = 'dark' }
-----------------------------------------------
-- Faster startup
-----------------------------------------------
vim.loader.enable()
-----------------------------------------------
-- Configuration
-----------------------------------------------
-- All non plugin related (vim) options
require 'settings'
require 'plugins'
-- Vim mappings, see lua/config/which.lua for more mappings
require 'mappings'
require 'helpers'
-- Finalise UI
vim.cmd(string.format('set background=%s', _G.my.ui.bg))
-- vim.cmd(string.format('colorscheme %s', _G.my.ui.theme))
-- vim.cmd.colorscheme(string.format('%s', _G.my.ui.theme))
vim.cmd([[colorscheme catppuccin-mocha]])