aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-23 21:57:58 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-23 21:57:58 +0100
commitf9f6f40bb389b92af9c0437c2bfc5dd44d764e47 (patch)
tree934abe30dce1de30d496e71b6408dc32b8d80ab6 /lua
parentcda982036b8a8659657bc536bee92e384f78013b (diff)
downloadnvim-conf-f9f6f40bb389b92af9c0437c2bfc5dd44d764e47.tar.gz
nvim-conf-f9f6f40bb389b92af9c0437c2bfc5dd44d764e47.zip
feat: remove old folder, add lazy to colorscheme
Diffstat (limited to 'lua')
-rw-r--r--lua/alpha/colors/enfocado.lua7
-rw-r--r--lua/alpha/colors/init.lua19
-rw-r--r--lua/alpha/colors/nightfox.lua38
-rw-r--r--lua/alpha/colors/tokyonight.lua15
-rw-r--r--lua/plugins/colorscheme.lua1
5 files changed, 1 insertions, 79 deletions
diff --git a/lua/alpha/colors/enfocado.lua b/lua/alpha/colors/enfocado.lua
deleted file mode 100644
index 0961c8c..0000000
--- a/lua/alpha/colors/enfocado.lua
+++ /dev/null
@@ -1,7 +0,0 @@
-local function setup()
- vim.cmd.colorscheme("enfocado")
-end
-
-return {
- setup = setup,
-}
diff --git a/lua/alpha/colors/init.lua b/lua/alpha/colors/init.lua
deleted file mode 100644
index 3d1da4c..0000000
--- a/lua/alpha/colors/init.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-local color = vim.g.alpha_color
-
-if color == nil then
- print("No color configure, set vim.g.alpha_color and ensure the file exists on the color folder")
- return
-end
-
-local ok, colorClass = pcall(require, "alpha.colors."..color)
-if not ok then
- print("No setup class for color " .. color)
- return
-end
-
-if type(colorClass.setup) ~= "function" then
- print("method setup non existing")
- return
-end
-
-colorClass.setup()
diff --git a/lua/alpha/colors/nightfox.lua b/lua/alpha/colors/nightfox.lua
deleted file mode 100644
index bb90d09..0000000
--- a/lua/alpha/colors/nightfox.lua
+++ /dev/null
@@ -1,38 +0,0 @@
-local ok, nightfox = pcall(require, "nightfox")
-if not ok then
- return
-end
-
-local function setup()
- local palettes = {
- all = {
- }
- }
-
- local groups = {
- all = {
- CmpItemAbbr = { fg = "fg0" },
- CmpItemAbbrDeprecated = { link = "Error" },
- CmpItemAbbrMatchFuzzy = { link = "CmpItemAbbr" },
- CmpItemKind = { link = "Special" },
- },
- }
-
- nightfox.setup({
- options = {
- styles = {
- comments = "italic",
- keywords = "bold",
- types = "italic,bold",
- },
- },
- palettes = palettes,
- groups = groups,
- })
-
- vim.cmd.colorscheme("duskfox")
-end
-
-return {
- setup = setup,
-}
diff --git a/lua/alpha/colors/tokyonight.lua b/lua/alpha/colors/tokyonight.lua
deleted file mode 100644
index b40fb7f..0000000
--- a/lua/alpha/colors/tokyonight.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-local ok, tokyonight = pcall(require, "tokyonight")
-if not ok then
- return
-end
-
-local function setup()
- tokyonight.setup({
- style="night"
- })
- vim.cmd.colorscheme("tokyonight")
-end
-
-return {
- setup = setup,
-}
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua
index 9f0528e..cbe836f 100644
--- a/lua/plugins/colorscheme.lua
+++ b/lua/plugins/colorscheme.lua
@@ -1,5 +1,6 @@
return {
"folke/tokyonight.nvim",
+ lazy = false,
priority=1000,
config = function()
require("tokyonight").setup({