- Checks for missing files and creates them - More efficient handling of those settings
26 lines
927 B
Lua
26 lines
927 B
Lua
-- -----------------------------------------------------------------------------
|
|
-- --------------------------------- OPTIONS -----------------------------------
|
|
-- -----------------------------------------------------------------------------
|
|
|
|
-- Set Default Leader Key
|
|
vim.g.mapleader = " "
|
|
|
|
-- Correct missing settings files
|
|
require("config.check-files")
|
|
|
|
-- Load Stored Leader Key
|
|
vim.g.mapleader = vim.fn.readfile(vim.fn.stdpath("config") .. "/.leader")[1]
|
|
|
|
-- Load the stored colorscheme
|
|
STORED_THEME = vim.fn.readfile(vim.fn.stdpath("config") .. "/.colorscheme")[1]
|
|
|
|
-- ----------------------------------- LSP --------------------------------------
|
|
vim.g.loaded_perl_provider = 0
|
|
vim.g.lazyvim_python_lsp = "basedpyright"
|
|
|
|
-- ------------------------------- CLIENT APPS ---------------------------------
|
|
if vim.g.neovide then
|
|
-- ----------------------- Neovide -------------------------
|
|
require("config.neovide")
|
|
end
|