This repository has no description
4.1 kB
95 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 -- disable building since it's optional
39 { "L3MON4D3/LuaSnip", build = "true", },
40
41 -- You can disable default plugins as follows:
42 -- { "max397574/better-escape.nvim", enabled = false },
43 --
44 -- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
45 -- {
46 -- "L3MON4D3/LuaSnip",
47 -- config = function(plugin, opts)
48 -- require "plugins.configs.luasnip"(plugin, opts) -- include the default astronvim config that calls the setup call
49 -- -- add more custom luasnip configuration such as filetype extend or custom snippets
50 -- local luasnip = require "luasnip"
51 -- luasnip.filetype_extend("javascript", { "javascriptreact" })
52 -- end,
53 -- },
54 -- {
55 -- "windwp/nvim-autopairs",
56 -- config = function(plugin, opts)
57 -- require "plugins.configs.nvim-autopairs"(plugin, opts) -- include the default astronvim config that calls the setup call
58 -- -- add more custom autopairs configuration such as custom rules
59 -- local npairs = require "nvim-autopairs"
60 -- local Rule = require "nvim-autopairs.rule"
61 -- local cond = require "nvim-autopairs.conds"
62 -- npairs.add_rules(
63 -- {
64 -- Rule("$", "$", { "tex", "latex" })
65 -- -- don't add a pair if the next character is %
66 -- :with_pair(cond.not_after_regex "%%")
67 -- -- don't add a pair if the previous character is xxx
68 -- :with_pair(
69 -- cond.not_before_regex("xxx", 3)
70 -- )
71 -- -- don't move right when repeat character
72 -- :with_move(cond.none())
73 -- -- don't delete if the next character is xx
74 -- :with_del(cond.not_after_regex "xx")
75 -- -- disable adding a newline when you press <cr>
76 -- :with_cr(cond.none()),
77 -- },
78 -- -- disable for .vim files, but it work for another filetypes
79 -- Rule("a", "a", "-vim")
80 -- )
81 -- end,
82 -- },
83 -- By adding to the which-key config and using our helper function you can add more which-key registered bindings
84 -- {
85 -- "folke/which-key.nvim",
86 -- config = function(plugin, opts)
87 -- require "plugins.configs.which-key"(plugin, opts) -- include the default astronvim config that calls the setup call
88 -- -- Add bindings which show up as group name
89 -- local wk = require "which-key"
90 -- wk.register({
91 -- b = { name = "Buffer" },
92 -- }, { mode = "n", prefix = "<leader>" })
93 -- end,
94 -- },
95}