Skip to content

Commit f5157a2

Browse files
committed
Added Dashboard-nvim, made menus prettier.
- Removed winborder as it indeed looks ugly. - Dropped default tabbing down to 2 spaces. - Added Dashboard-nvim and set it up with some nice defaults. - Setup some indent-line excludes to make some menus .
1 parent f3feb57 commit f5157a2

File tree

5 files changed

+61
-14
lines changed

5 files changed

+61
-14
lines changed

init.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ I hope you enjoy your Neovim journey,
8484
P.S. You can delete this when you're done too. It's your config now! :)
8585
--]]
8686

87-
-- add rounded borders to all of the windows - JP added this, remove if trash.
88-
vim.o.winborder = 'rounded'
89-
9087
-- Set <space> as the leader key
9188
-- See `:help mapleader`
9289
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)

lazy-lock.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
{
22
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
3-
"blink.cmp": { "branch": "main", "commit": "9bcb14b43852a6f2bfd5ac9ef29cb5cf09b1b39b" },
3+
"blink.cmp": { "branch": "main", "commit": "586ee87534f5bf65f1c8dea2d1da2a57e8cddd36" },
44
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
55
"conform.nvim": { "branch": "master", "commit": "973f3cb73887d510321653044791d7937c7ec0fa" },
6+
"dashboard-nvim": { "branch": "master", "commit": "c42fcfbd96dfcaa486c0a0ab52494316f1c31350" },
67
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
78
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
8-
"gitsigns.nvim": { "branch": "main", "commit": "4666d040b60d1dc0e474ccd9a3fd3c4d67b4767c" },
9+
"gitsigns.nvim": { "branch": "main", "commit": "0cb5a7753d3c4b8e9cfdc9d88d9110cb8d4b1544" },
910
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
1011
"harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
1112
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
1213
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
1314
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
14-
"mason-lspconfig.nvim": { "branch": "main", "commit": "7815740f4d0afb74ada00956c36e18ad695ed9e3" },
15+
"mason-lspconfig.nvim": { "branch": "main", "commit": "bc743e4f3dc4b6d22b0a9e0b68a6664d93f8a694" },
1516
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
1617
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
1718
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
18-
"mini.nvim": { "branch": "main", "commit": "3f71fd3573981bf18f76b2bfb6518c4ae728638d" },
19+
"mini.nvim": { "branch": "main", "commit": "ec0fc48de7408f1fc09b1ee2a87484396032dbb4" },
1920
"neo-tree.nvim": { "branch": "main", "commit": "cea666ef965884414b1b71f6b39a537f9238bdb2" },
2021
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
2122
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
2223
"nvim-dap": { "branch": "master", "commit": "cc77338e6e34c79f1c638f51ae4160dc9bfb05de" },
23-
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
24+
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
2425
"nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" },
2526
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
2627
"nvim-lint": { "branch": "master", "commit": "3c5e34c24834a67b1cb37600ab7663eefd2b0390" },
27-
"nvim-lspconfig": { "branch": "master", "commit": "dbdb80d3bd311989d21029c63918d67a786d5013" },
28+
"nvim-lspconfig": { "branch": "master", "commit": "dbfd8da6206b4ab0e2fe9b72a538f82e2b410102" },
2829
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
2930
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
3031
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
31-
"nvim-web-devicons": { "branch": "master", "commit": "a1366758b3a232036dc97be8ca41184aa3f50506" },
32+
"nvim-web-devicons": { "branch": "master", "commit": "0422a19d9aa3aad2c7e5cca167e5407b13407a9d" },
3233
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
33-
"schemastore.nvim": { "branch": "main", "commit": "36fb914c0defa2274207e670182253508e5569d5" },
34+
"schemastore.nvim": { "branch": "main", "commit": "c957914d75b4a008ce09f4116e57e59fe6e3fae1" },
3435
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
3536
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
3637
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },

lua/custom/indentation.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ local M = {}
33

44
-- global default
55
M.default = {
6-
tabstop = 4,
7-
shiftwidth = 4,
6+
tabstop = 2,
7+
shiftwidth = 2,
88
expandtab = true,
99
}
1010

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
return {
2+
'nvimdev/dashboard-nvim',
3+
event = 'VimEnter',
4+
config = function()
5+
local logo = [[
6+
██╗██████╗ ██╗ ██╗ ██╗ ██╗██╗ ██████╗██╗ ██╗███████╗████████╗ █████╗ ██████╗ ████████╗
7+
██║██╔══██╗██║ ██║ ██║ ██╔╝██║██╔════╝██║ ██╔╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗╚══██╔══╝
8+
██║██████╔╝███████║ █████╔╝ ██║██║ █████╔╝ ███████╗ ██║ ███████║██████╔╝ ██║
9+
██ ██║██╔═══╝ ██╔══██║ ██╔═██╗ ██║██║ ██╔═██╗ ╚════██║ ██║ ██╔══██║██╔══██╗ ██║
10+
╚█████╔╝██║ ██║ ██║ ██║ ██╗██║╚██████╗██║ ██╗███████║ ██║ ██║ ██║██║ ██║ ██║
11+
╚════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
12+
]]
13+
logo = string.rep('\n', 8) .. logo .. '\n\n'
14+
require('dashboard').setup {
15+
16+
theme = 'doom',
17+
config = {
18+
header = vim.split(logo, '\n'),
19+
center = {
20+
{ desc = ' Update Lazy', icon = '󰒲', action = 'Lazy update', key = 'u' },
21+
{ desc = ' Lazy.Nvim', icon = '󰒲', action = 'Lazy', key = 'l' },
22+
{ desc = ' Mason', icon = 'M', action = 'Mason', key = 'm' },
23+
{
24+
desc = 'Telescope Search Neovim Files',
25+
icon = '',
26+
action = 'lua require("telescope.builtin").find_files({ cwd = vim.fn.stdpath("config") })',
27+
key = 'n',
28+
},
29+
{ desc = 'Telescope Find Files', icon = '', action = 'Telescope find_files', key = 'f' },
30+
{ desc = 'Telescope Help Tags', icon = '', action = 'Telescope help_tags', key = 'h' },
31+
{ desc = 'Search Select Telesocpe', icon = '', action = 'Telescope builtin', key = 'b' },
32+
{ desc = 'Telescope Search Grep', icon = '', action = 'Telescope live_grep', key = 'g' },
33+
{ desc = 'Telescope Resume', icon = '', action = 'Telescope resume', key = 'r' },
34+
{ desc = 'Telescope Search Recent', icon = '', action = 'Telescope oldfiles', key = 'o' },
35+
{ desc = 'Open Har[p]oon', icon = '', action = 'Telescope harpoon marks', key = 'p' },
36+
},
37+
},
38+
}
39+
end,
40+
dependencies = { { 'nvim-tree/nvim-web-devicons' } },
41+
}

lua/kickstart/plugins/indent_line.lua

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ return {
44
-- Enable `lukas-reineke/indent-blankline.nvim`
55
-- See `:help ibl`
66
main = 'ibl',
7-
opts = {},
7+
opts = {
8+
exclude = {
9+
filetypes = {
10+
'dashboard',
11+
'lazy',
12+
'mason',
13+
},
14+
},
15+
},
816
},
917
}

0 commit comments

Comments
 (0)