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-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"telescope-project.nvim": { "branch": "master", "commit": "1aaf16580a614601a7f7077d9639aeb457dc5559" },
"telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
"vim-snippets": { "branch": "master", "commit": "f0a3184d9f90b96b044d5914625a25c554d7f301" },

View file

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

View file

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

View file

@ -8,14 +8,14 @@ return {
},
opts = {}, -- define config options here, or use a config() function
config = function()
require('telescope').load_extension('project')
require('telescope').load_extension('projects')
end,
keys = {
{ '<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>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>fp', function() require('telescope').extensions.project.project {} end, desc = 'Projects', mode = 'n' },
{ '<leader>fd', "<cmd>Telescope diagnostics<CR>", desc = 'Diagnostics', 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>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>fp', function() require('telescope').extensions.projects.projects {} end, desc = 'Projects', mode = 'n' },
{ '<leader>fd', "<cmd>Telescope diagnostics<CR>", desc = 'Diagnostics', mode = 'n' }
},
}