diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-23 21:57:58 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-23 21:57:58 +0100 |
| commit | f9f6f40bb389b92af9c0437c2bfc5dd44d764e47 (patch) | |
| tree | 934abe30dce1de30d496e71b6408dc32b8d80ab6 | |
| parent | cda982036b8a8659657bc536bee92e384f78013b (diff) | |
| download | nvim-conf-f9f6f40bb389b92af9c0437c2bfc5dd44d764e47.tar.gz nvim-conf-f9f6f40bb389b92af9c0437c2bfc5dd44d764e47.zip | |
feat: remove old folder, add lazy to colorscheme
| -rw-r--r-- | lazy-lock.json | 14 | ||||
| -rw-r--r-- | lua/alpha/colors/enfocado.lua | 7 | ||||
| -rw-r--r-- | lua/alpha/colors/init.lua | 19 | ||||
| -rw-r--r-- | lua/alpha/colors/nightfox.lua | 38 | ||||
| -rw-r--r-- | lua/alpha/colors/tokyonight.lua | 15 | ||||
| -rw-r--r-- | lua/plugins/colorscheme.lua | 1 |
6 files changed, 8 insertions, 86 deletions
diff --git a/lazy-lock.json b/lazy-lock.json index 62b4c9b..8021792 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -18,17 +18,17 @@ "fzf.vim": { "branch": "master", "commit": "bdf48c282ad2174c25c059b3cdb7956427b07a99" }, "git-worktree.nvim": { "branch": "master", "commit": "d7f4e2584e81670154f07ca9fa5dd791d9c1b458" }, "gitsigns.nvim": { "branch": "main", "commit": "7b37bd5c2dd4d7abc86f2af096af79120608eeca" }, - "harpoon": { "branch": "master", "commit": "21d0d1bfa3000e4384740bfaefa0ebc51c773786" }, + "harpoon": { "branch": "master", "commit": "8c0bb0a328e57278f4783bb0e2ea32f296d36db1" }, "hydra.nvim": { "branch": "master", "commit": "d00274f05363c13f29ed1fa571026a066a634cce" }, "icon-picker.nvim": { "branch": "master", "commit": "66d37ceae84099ca76235de44466829eb37118c2" }, "indent-blankline.nvim": { "branch": "master", "commit": "c4c203c3e8a595bc333abaf168fcb10c13ed5fb7" }, "laravel.nvim": { "branch": "main", "commit": "3fb127286a730daf87132ef12fbb1442a4ac790b" }, - "lazy.nvim": { "branch": "main", "commit": "cab4682d22a0451bc36a648694235621b5dd808e" }, + "lazy.nvim": { "branch": "main", "commit": "809d67fcf0f6dd5dabdd1c2b88d451cef4695880" }, "lspkind-nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" }, "lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "d7ff61a828d59bc593ea3e2020508c114048d790" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "faeeb5e02eba0aecdf273a50baa164300af33e77" }, "mason-tool-installer.nvim": { "branch": "main", "commit": "27f61f75a71bb3c2504a17e02b571f79cae43676" }, - "mason.nvim": { "branch": "main", "commit": "beb79ced9e49ea1ce2bd170b79e0cf819a8377c7" }, + "mason.nvim": { "branch": "main", "commit": "22c8a1e67adb51179b26f0e37e87af24baf3fb89" }, "mind.nvim": { "branch": "v2.2", "commit": "79e0ca131d5e37dfa65f3f0e725d99742e4ff783" }, "null-ls.nvim": { "branch": "main", "commit": "18497120fa0db0a3b9e53870ac8f342be4bffb57" }, "nvim-autopairs": { "branch": "master", "commit": "31042a5823b55c4bfb30efcbba2fc1b5b53f90dc" }, @@ -42,7 +42,7 @@ "nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" }, "nvim-projectconfig": { "branch": "master", "commit": "05fd34831e170db269d1b84597615bcdcdde930e" }, "nvim-transparent": { "branch": "main", "commit": "6816751e3d595b3209aa475a83b6fbaa3a5ccc98" }, - "nvim-treesitter": { "branch": "master", "commit": "6c9f3d03e50f9d218d913e4ad1c812054a0ba61b" }, + "nvim-treesitter": { "branch": "master", "commit": "d7aa8cd74571bb277958c389aa0c8fb0c19ffc3b" }, "nvim-treesitter-refactor": { "branch": "master", "commit": "75f5895cc662d61eb919da8050b7a0124400d589" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "2fb97bd6c53d78517d2022a0b84422c18ce5686e" }, "nvim-web-devicons": { "branch": "master", "commit": "13d06d74afad093d8312fe051633b55f24049c16" }, @@ -58,8 +58,8 @@ "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" }, "telescope.nvim": { "branch": "master", "commit": "dce1156ca103b8222e4abbfc63f9c6887abf5ec6" }, - "tokyonight.nvim": { "branch": "main", "commit": "4071f7fa984859c5de7a1fd27069b99c3a0d802a" }, - "trouble.nvim": { "branch": "main", "commit": "b2a0afac2c319a481f0f0318963a74d672ba5766" }, + "tokyonight.nvim": { "branch": "main", "commit": "affb21a81e6d7de073378eb86d02864c594104d9" }, + "trouble.nvim": { "branch": "main", "commit": "490f7fe6d227f4f7a64f00be8c7dcd7a508ed271" }, "vim-blade": { "branch": "master", "commit": "9534101808cc320eef003129a40cab04b026a20c" }, "vim-dadbod": { "branch": "master", "commit": "a09e40664e9cd30cd2b3f8866b796598302070f6" }, "vim-dadbod-completion": { "branch": "master", "commit": "e71eb6140556c5ced80de6299a1fdfe22bd3c1b1" }, 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({ |