forked from VapourNvim/VapourNvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
40 lines (32 loc) · 1.27 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
38
39
40
-- __ __ _ _ _
-- \ \ / /_ _ _ __ ___ _ _ _ __| \ | |_ _(_)_ __ ___
-- \ \ / / _` | '_ \ / _ \| | | | '__| \| \ \ / / | '_ ` _ \
-- \ V / (_| | |_) | (_) | |_| | | | |\ |\ V /| | | | | | |
-- \_/ \__,_| .__/ \___/ \__,_|_| |_| \_| \_/ |_|_| |_| |_|
-- |_|
-- Author: https://github.com/hackorum
-- Github: https://github.com/hackorum/VapourNvim
--
-- Sane defaults and global helpers
-- Load all Vapour packages first
require('vapour')
local user_config = CONFIG_PATH .. '/lua/vapour/user-config/init.lua'
if not Vapour.utils.file.exists(user_config) then Vapour.utils.file.create(user_config) end
-- User config that overrides the above
vim.cmd('luafile ' .. user_config)
-- General
require('vapour.options')
require('vapour.plugins')
require('vapour.keybindings')
-- Syntax and Visual
-- If a custom theme is wanted, require() that in user-config.init
-- Otherwise if the default theme is not wanted change Vapour.settings.colorscheme
-- This will return nil if it's not found
Vapour.utils.plugins.require('colorscheme.' .. Vapour.settings.colorscheme)
-- LSP and Autocomplete
require('language-servers')
require('gitsigns-config')
-- Terminal Support
-- require('toggleterm-config')
-- Other
require('which-key-config')