Update .config/nvim/lazy-lock.json

Update .config/nvim/lua/plugins/alpha.lua
Update .config/nvim/lua/plugins/statusline.lua
Update .config/nvim/lua/plugins/telescope.lua
This commit is contained in:
Anthony Rodriguez 2024-08-15 20:11:07 +02:00
parent ff42ddd009
commit d0fa44aa44
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
4 changed files with 14 additions and 11 deletions

View file

@ -22,6 +22,7 @@
"nvim-treesitter": { "branch": "master", "commit": "bfb50de9cb0673a3bff620d881f690fb7e0d1328" }, "nvim-treesitter": { "branch": "master", "commit": "bfb50de9cb0673a3bff620d881f690fb7e0d1328" },
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" }, "nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"telescope-project.nvim": { "branch": "master", "commit": "1aaf16580a614601a7f7077d9639aeb457dc5559" }, "telescope-project.nvim": { "branch": "master", "commit": "1aaf16580a614601a7f7077d9639aeb457dc5559" },
"telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" }, "telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
"vim-snippets": { "branch": "master", "commit": "f0a3184d9f90b96b044d5914625a25c554d7f301" }, "vim-snippets": { "branch": "master", "commit": "f0a3184d9f90b96b044d5914625a25c554d7f301" },

View file

@ -1,12 +1,15 @@
return { return {
'goolord/alpha-nvim', 'goolord/alpha-nvim',
dependencies = {
"nvim-telescope/telescope.nvim"
},
config = function() config = function()
local alpha = require 'alpha' local alpha = require 'alpha'
local dashboard = require 'alpha.themes.dashboard' local dashboard = require 'alpha.themes.dashboard'
local frappe = require("catppuccin.palettes").get_palette "frappe" local frappe = require("catppuccin.palettes").get_palette "frappe"
vim.api.nvim_set_hl(0, 'DashboardHeader', { fg = frappe.pink }) vim.api.nvim_set_hl(0, 'DashboardHeader', { fg = frappe.lavender })
dashboard.section.header.val = { dashboard.section.header.val = {
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡀⠒⠒⠦⣄⡀⠀⠀⠀⠀⠀⠀⠀", "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡀⠒⠒⠦⣄⡀⠀⠀⠀⠀⠀⠀⠀",
@ -31,8 +34,7 @@ return {
dashboard.section.buttons.val = { dashboard.section.buttons.val = {
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"), dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
dashboard.button("f", "󰈞 Find file", ":Telescope find_files <CR>"), dashboard.button("f", "󰈞 Find file", ":Telescope find_files <CR>"),
dashboard.button("p", " Open project", dashboard.button("p", " Open project", ":Telescope projects<CR>"),
":lua require'telescope'.extensions.project.project{}<CR>"),
} }
alpha.setup(dashboard.opts) alpha.setup(dashboard.opts)
end end

View file

@ -2,6 +2,6 @@ return {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' }, dependencies = { 'nvim-tree/nvim-web-devicons' },
opts = { opts = {
extensions = { "mason", "neo-tree", } extensions = { "mason" }
} }
} }

View file

@ -8,14 +8,14 @@ return {
}, },
opts = {}, -- define config options here, or use a config() function opts = {}, -- define config options here, or use a config() function
config = function() config = function()
require('telescope').load_extension('project') require('telescope').load_extension('projects')
end, end,
keys = { keys = {
{ '<leader>ff', function() require 'telescope.builtin'.find_files() end, desc = 'Find files', mode = 'n' }, { '<leader>ff', function() require 'telescope.builtin'.find_files() end, desc = 'Find files', mode = 'n' },
{ '<leader>fg', function() require('telescope.builtin').live_grep() end, desc = 'Live grep', mode = 'n' }, { '<leader>fg', function() require('telescope.builtin').live_grep() end, desc = 'Live grep', mode = 'n' },
{ '<leader>fb', function() require('telescope.builtin').buffers() end, desc = 'Buffers', mode = 'n' }, { '<leader>fb', function() require('telescope.builtin').buffers() end, desc = 'Buffers', mode = 'n' },
{ '<leader>fh', function() require('telescope.builtin').help_tags() end, desc = 'Help tags', mode = 'n' }, { '<leader>fh', function() require('telescope.builtin').help_tags() end, desc = 'Help tags', mode = 'n' },
{ '<leader>fp', function() require('telescope').extensions.project.project {} end, desc = 'Projects', mode = 'n' }, { '<leader>fp', function() require('telescope').extensions.projects.projects {} end, desc = 'Projects', mode = 'n' },
{ '<leader>fd', "<cmd>Telescope diagnostics<CR>", desc = 'Diagnostics', mode = 'n' } { '<leader>fd', "<cmd>Telescope diagnostics<CR>", desc = 'Diagnostics', mode = 'n' }
}, },
} }