repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nvim: more lazy loading

83341227430b9d0557abdf80b6a52afb32d15b61

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (10)

+29 / −35 text lines

Diff layout

neovim/lua/bugabinga/nugu/init.lua

Modified

+1 / −1 text lines

7373 NonText { fg = ui_unfocus }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
7474 NormalNC {}, -- normal text in non-current windows
7575 Pmenu { NormalFloat }, -- Popup menu: normal item.
76 PmenuSel { fg = ui_focus.readable(), sp = ui_focus.readable(), bg = ui_focus, gui = 'underline' }, -- Popup menu: selected item.
76 PmenuSel { fg = ui_focus.readable(), sp = ui_focus.readable(), bg = ui_unfocus, gui = 'underline' }, -- Popup menu: selected item.
7777 PmenuSbar { bg = ui_unfocus }, -- Popup menu: scrollbar.
7878 PmenuThumb { bg = ui_minor }, -- Popup menu: Thumb of the scrollbar.
7979 Question { fg = ui_important_global, gui = 'bold' }, -- |hit-enter| prompt and yes/no questions

neovim/lua/bugabinga/plugins/colorizer.lua

Modified

+1 / −1 text lines

11return {
22 {
33 'NvChad/nvim-colorizer.lua',
4 event = 'VeryLazy',
4 event = { 'BufReadPost', 'BufNew' },
55 opts = {
66 filetypes = { '*' },
77 user_default_options = {

neovim/lua/bugabinga/plugins/heirline.lua

Modified

+5 / −5 text lines

44return {
55 {
66 'rebelot/heirline.nvim',
7 event = {'BufReadPost', 'BufNew'},
7 event = 'BufEnter',
8 dependencies = {
9 'nvim-tree/nvim-web-devicons',
10 -- 'lewis6991/gitsigns.nvim',
11 },
812 config = function()
913 local heirline = require'heirline'
1014 local conditions = require("heirline.conditions")
555559 },
556560 }
557561 end,
558 dependencies = {
559 'nvim-tree/nvim-web-devicons',
560 'lewis6991/gitsigns.nvim',
561 },
562562 },

neovim/lua/bugabinga/plugins/hlargs.lua

Modified

+1 / −1 text lines

11return {
22 'm-demare/hlargs.nvim',
3 event = { 'BufReadPost', 'BufNewFile'},
3 event = 'BufRead',
44 opts = {
55 paint_arg_declarations = true,
66 paint_arg_usages = true,

neovim/lua/bugabinga/plugins/indent-o-matic.lua

Deleted
deleted file mode 100644

+0 / −5 text lines

1return {
2 'Darazaki/indent-o-matic',
3 event = 'BufReadPost',
4 opts = {},
5}

neovim/lua/bugabinga/plugins/indent_blankline.lua

Modified

+3 / −3 text lines

1return {{
1return {
22 "lukas-reineke/indent-blankline.nvim" ,
3 lazy = false,
3 event = { 'BufReadPost', 'BufNew' },
44 config = function()
55 local indent_blankline = require'indent_blankline'
1111 show_trailing_blankline_indent = false,
1212 }
1313 end,
14}}
14}

neovim/lua/bugabinga/plugins/noice.lua

Modified

+10 / −8 text lines

44 {
55 'folke/noice.nvim',
66 event = 'VeryLazy',
7 dependencies = {
8 'MunifTanjim/nui.nvim',
9 'rcarriga/nvim-notify',
10 -- 'nvim-telescope/telescope.nvim',
11 },
712 opts = {
813 cmdline = {
914 view = 'cmdline', -- cmdline on bottom
3439 },
3540 config = function(_, opts)
3641 local noice = require'noice'
37 local telescope = require'telescope'
3842 noice.setup(opts)
39 telescope.load_extension'noice'
4144 map.normal {
4245 name = 'Open search for notifications...',
4346 category = 'search',
4447 keys = '<C-n><C-n>',
45 command = function() telescope.extensions.noice.noice() end,
48 command = function()
49 local telescope = require'telescope'
50 -- telescope.load_extension'noice'
51 telescope.extensions.noice.noice()
52 end,
4653 }
4855 end,
49 dependencies = {
50 'MunifTanjim/nui.nvim',
51 'rcarriga/nvim-notify',
52 'nvim-telescope/telescope.nvim',
53 },
5456 },
5557 {
5658 'rcarriga/nvim-notify',

neovim/lua/bugabinga/plugins/oil.lua

Modified

+4 / −1 text lines

33return {
44 'stevearc/oil.nvim',
5 event = 'VeryLazy',
5 lazy = false,
6 -- event = 'VeryLazy',
67 dependencies = { "nvim-tree/nvim-web-devicons" },
78 config = function()
89 local oil = require'oil'
2122 ["q"] = "actions.close",
2223 ["<esc>"] = "actions.close",
2324 ["<C-/>"] = "actions.show_help",
25 ["<C-_>"] = "actions.show_help",
26 ["<C-?>"] = "actions.show_help",
2427 ["<C-v>"] = "actions.select_vsplit",
2528 ["<C-x>"] = "actions.select_split",
2629 ["<C-h>"] = "actions.toggle_hidden",

neovim/lua/bugabinga/plugins/treesitter.lua

Modified

+3 / −9 text lines

2121return {
2222 'nvim-treesitter/nvim-treesitter',
2323 branch = "master",
24 event = {"BufReadPost", "BufNewFile"},
24 event = "BufRead",
2525 cmd = {
2626 "TSBufDisable",
2727 "TSBufEnable",
212212 events = 'InsertEnter',
213213 pattern = '*',
214214 command = function()
215 local highlight = require'nvim-treesitter.highlight'
216 pcall(highlight.detach)
217 pcall(highlight.set_custom_captures, { error = 'None' })
218 pcall(highlight.attach)
219216 end,
220217 },
221218 {
223220 events = 'InsertLeave',
224221 pattern = '*',
225222 command = function()
226 local highlight = require'nvim-treesitter.highlight'
227 pcall(highlight.detach)
228 pcall(highlight.set_custom_captures, { error = 'TSError' })
229 pcall(highlight.attach)
230224 end,
231225 },
232226 }

neovim/lua/bugabinga/plugins/virt-column.lua

Modified

+1 / −1 text lines

11return {
22 {
33 'lukas-reineke/virt-column.nvim',
4 event = 'VeryLazy',
4 event = { 'BufReadPost', 'BufNew' },
55 opts = {
66 char = '│',
77 },