This repository has no description
4.0 kB
93 lines
1return {
2 -- customize alpha options
3 {
4 "goolord/alpha-nvim",
5 opts = function(_, opts)
6 -- customize the dashboard header
7 opts.section.header.val = {
8 " █████ ███████ ████████ ██████ ██████",
9 "██ ██ ██ ██ ██ ██ ██ ██",
10 "███████ ███████ ██ ██████ ██ ██",
11 "██ ██ ██ ██ ██ ██ ██ ██",
12 "██ ██ ███████ ██ ██ ██ ██████",
13 " ",
14 " ███ ██ ██ ██ ██ ███ ███",
15 " ████ ██ ██ ██ ██ ████ ████",
16 " ██ ██ ██ ██ ██ ██ ██ ████ ██",
17 " ██ ██ ██ ██ ██ ██ ██ ██ ██",
18 " ██ ████ ████ ██ ██ ██",
19 }
20 return opts
21 end,
22 },
23 {
24 "gitsigns.nvim",
25 opts = function(_, opts)
26 opts.current_line_blame = true
27 return opts
28 end,
29 },
30 {
31 "nvim-neo-tree/neo-tree.nvim",
32 opts = {
33 follow_current_file = true,
34 },
35 },
36 -- override make command build since we provide the shared library with home-manager already
37 { "nvim-telescope/telescope-fzf-native.nvim", build = "true", },
38
39 -- You can disable default plugins as follows:
40 -- { "max397574/better-escape.nvim", enabled = false },
41 --
42 -- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
43 -- {
44 -- "L3MON4D3/LuaSnip",
45 -- config = function(plugin, opts)
46 -- require "plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
47 -- -- add more custom luasnip configuration such as filetype extend or custom snippets
48 -- local luasnip = require "luasnip"
49 -- luasnip.filetype_extend("javascript", { "javascriptreact" })
50 -- end,
51 -- },
52 -- {
53 -- "windwp/nvim-autopairs",
54 -- config = function(plugin, opts)
55 -- require "plugins.configs.nvim-autopairs"(plugin, opts) -- include the default astronvim config that calls the setup call
56 -- -- add more custom autopairs configuration such as custom rules
57 -- local npairs = require "nvim-autopairs"
58 -- local Rule = require "nvim-autopairs.rule"
59 -- local cond = require "nvim-autopairs.conds"
60 -- npairs.add_rules(
61 -- {
62 -- Rule("$", "$", { "tex", "latex" })
63 -- -- don't add a pair if the next character is %
64 -- :with_pair(cond.not_after_regex "%%")
65 -- -- don't add a pair if the previous character is xxx
66 -- :with_pair(
67 -- cond.not_before_regex("xxx", 3)
68 -- )
69 -- -- don't move right when repeat character
70 -- :with_move(cond.none())
71 -- -- don't delete if the next character is xx
72 -- :with_del(cond.not_after_regex "xx")
73 -- -- disable adding a newline when you press <cr>
74 -- :with_cr(cond.none()),
75 -- },
76 -- -- disable for .vim files, but it work for another filetypes
77 -- Rule("a", "a", "-vim")
78 -- )
79 -- end,
80 -- },
81 -- By adding to the which-key config and using our helper function you can add more which-key registered bindings
82 -- {
83 -- "folke/which-key.nvim",
84 -- config = function(plugin, opts)
85 -- require "plugins.configs.which-key"(plugin, opts) -- include the default astronvim config that calls the setup call
86 -- -- Add bindings which show up as group name
87 -- local wk = require "which-key"
88 -- wk.register({
89 -- b = { name = "Buffer" },
90 -- }, { mode = "n", prefix = "<leader>" })
91 -- end,
92 -- },
93}