mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2026-08-16 22:52:50 +01:00
24 lines
666 B
Lua
24 lines
666 B
Lua
-- Enable experimental fast lua module loader
|
|
vim.loader.enable()
|
|
|
|
vim.g.mapleader = "\\"
|
|
vim.g.maplocalleader = "\\\\"
|
|
|
|
require("config")
|
|
|
|
local utils = require("config.utils")
|
|
local lazypath = utils.ensure_plugin("lazy.nvim", "folke/lazy.nvim", "stable")
|
|
local hotpotpath = utils.ensure_plugin("hotpot.nvim", "rktjmp/hotpot.nvim")
|
|
|
|
---@diagnostic disable: undefined-field
|
|
vim.opt.rtp:prepend(hotpotpath)
|
|
vim.opt.rtp:prepend(lazypath)
|
|
---@diagnostic enable: undefined-field
|
|
|
|
require("hotpot")
|
|
require("keybindings")
|
|
require("config.autocmds")
|
|
|
|
require("lazy").setup("plugins")
|
|
require("nvim-web-devicons").refresh() -- This fixes screwiness with the devicon colors
|