summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugin_settings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua54
1 files changed, 31 insertions, 23 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index 78b0792..6b02db4 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -246,30 +246,39 @@ require('telescope').setup {
246require('telescope').load_extension('fzf') 246require('telescope').load_extension('fzf')
247-- }}} telescope -- 247-- }}} telescope --
248 248
249-- alpha-nvim {{{ -- 249-- dashboard {{{ --
250local alpha = require ("alpha") 250
251local startify = require ("alpha.themes.startify") 251local home = os.getenv('HOME')
252 252local db = require('dashboard')
253-- Set header 253db.custom_header = {
254startify.section.header.val = { 254 '',
255" ▄ ▄███▄ ████▄ ▄ ▄█ █▀▄▀█ ", 255 ' ▄ ▄███▄ ████▄ ▄ ▄█ █▀▄▀█ ',
256" █ █▀ ▀ █ █ █ ██ █ █ █ ", 256 ' █ █▀ ▀ █ █ █ ██ █ █ █ ',
257"██ █ ██▄▄ █ █ █ █ ██ █ ▄ █ ", 257 '██ █ ██▄▄ █ █ █ █ ██ █ ▄ █ ',
258"█ █ █ █▄ ▄▀ ▀████ █ █ ▐█ █ █ ", 258 '█ █ █ █▄ ▄▀ ▀████ █ █ ▐█ █ █ ',
259"█ █ █ ▀███▀ █ █ ▐ █ ", 259 '█ █ █ ▀███▀ █ █ ▐ █ ',
260"█ ██ █▐ ▀ ", 260 '█ ██ █▐ ▀ ',
261" ▐ ", 261 ' ▐ ',
262 '',
263 '',
262} 264}
263 265db.custom_center = {
264startify.section.footer = { 266 {
265 { type = "text", val = "footer" }, 267 desc = 'new file ',
268 action = 'DashboardNewFile',
269 },
270 {
271 desc = 'find files ',
272 action = 'Telescope find_files',
273 },
274 {
275 desc = 'old files',
276 action = "Telescope oldfiles",
277 }
266} 278}
279db.custom_footer = { '⛅' }
267 280
268-- Send config to alpha 281-- }}} dashboard --
269alpha.setup(startify.opts)
270
271
272-- }}} alpha-nvim --
273 282
274-- treesitter {{{ -- 283-- treesitter {{{ --
275 284
@@ -439,7 +448,6 @@ require('rust-tools').setup(rust_opts)
439 448
440-- }}} rust-tools -- 449-- }}} rust-tools --
441 450
442
443-- }}} nvim-lsp -- 451-- }}} nvim-lsp --
444 452
445-- vista {{{ -- 453-- vista {{{ --
@@ -453,7 +461,7 @@ require("indent_blankline").setup {
453 show_current_context = true, 461 show_current_context = true,
454 char = "┊", 462 char = "┊",
455 buftype_exclude = {"terminal"}, 463 buftype_exclude = {"terminal"},
456 filetype_exclude = {"alpha", "help", "ledger", "man"} 464 filetype_exclude = {"dashboard", "help", "ledger", "man"}
457} 465}
458-- }}} indent-blankline -- 466-- }}} indent-blankline --
459 467