mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
add global for transparency and fix (#1164)
vim matchup was causing #1164 as we lazy load it and its a lil high on startup so I removed it, gotta wait till v0.8 releases and then we could use winbar.nvim instead
This commit is contained in:
parent
b828b677bd
commit
77c1287db8
2 changed files with 5 additions and 9 deletions
|
@ -1,12 +1,15 @@
|
|||
local opt = vim.opt
|
||||
local g = vim.g
|
||||
|
||||
g.nvchad_theme = require("core.utils").load_config().ui.theme
|
||||
local config = require("core.utils").load_config()
|
||||
|
||||
g.nvchad_theme = config.ui.theme
|
||||
|
||||
-- use filetype.lua instead of filetype.vim
|
||||
g.did_load_filetypes = 0
|
||||
g.do_filetype_lua = 1
|
||||
g.toggle_theme_icon = " "
|
||||
g.transparency = config.ui.transparency
|
||||
|
||||
opt.confirm = true
|
||||
opt.laststatus = 3 -- global statusline
|
||||
|
@ -86,4 +89,4 @@ vim.schedule(function()
|
|||
end)
|
||||
|
||||
-- load user options if the file exists
|
||||
require("core.utils").load_config().options.user()
|
||||
config.options.user()
|
||||
|
|
|
@ -105,13 +105,6 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
|
||||
["andymass/vim-matchup"] = {
|
||||
opt = true,
|
||||
setup = function()
|
||||
require("core.utils").packer_lazy_load "vim-matchup"
|
||||
end,
|
||||
},
|
||||
|
||||
["max397574/better-escape.nvim"] = {
|
||||
event = "InsertCharPre",
|
||||
config = function()
|
||||
|
|
Loading…
Reference in a new issue