added dashboard and enabled lsps for rust and python
This commit is contained in:
parent
a22976111e
commit
d435d54b0c
2 changed files with 42 additions and 7 deletions
31
lua/custom/plugins/dashboard.lua
Normal file
31
lua/custom/plugins/dashboard.lua
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
return {
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
config = function()
|
||||
require('mini.starter').setup {
|
||||
header = table.concat({
|
||||
'███╗ ██╗██╗ ██╗██╗███╗ ███╗',
|
||||
'████╗ ██║██║ ██║██║████╗ ████║',
|
||||
'██╔██╗ ██║██║ ██║██║██╔████╔██║',
|
||||
'██║╚██╗██║╚██╗ ██╔╝██║██║╚██╔╝██║',
|
||||
'██║ ╚████║ ╚████╔╝ ██║██║ ╚═╝ ██║',
|
||||
'╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝',
|
||||
'',
|
||||
' ',
|
||||
}, '\n'),
|
||||
items = {
|
||||
{ action = 'Telescope find_files', name = ' 🔍 Find File', section = 'Files' },
|
||||
{ action = 'Telescope oldfiles', name = ' 📂 Recent Files', section = 'Files' },
|
||||
{ action = 'Telescope live_grep', name = ' 🔎 Find Text', section = 'Search' },
|
||||
{ action = 'Lazy update', name = ' 🔄 Update Plugins', section = 'Plugins' },
|
||||
{ action = 'qall', name = ' Quit', section = 'Exit' },
|
||||
},
|
||||
footer = 'Neovim - The hyperextensible Vim-based text editor',
|
||||
content_hooks = {
|
||||
require('mini.starter').gen_hook.adding_bullet '*',
|
||||
require('mini.starter').gen_hook.aligning('center', 'center'),
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue