dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim: fix cmp and gitsigns
fc1e16222c20b67dc63a505e7ede5629d9a93f06
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (16)
new file mode 100644+287 / −0 text lines
16+ leading_trailing_space_bg: { attr: n } 30+ row_index: green_bold 37+ shape_garbage: { fg: "#FFFFFF" bg: "#FF0000" attr: b} 38+ shape_binary: purple_bold 39+ shape_bool: light_cyan 40+ shape_int: purple_bold 41+ shape_float: purple_bold 42+ shape_range: yellow_bold 43+ shape_internalcall: cyan_bold 45+ shape_externalarg: green_bold 47+ shape_operator: yellow 48+ shape_signature: green_bold 50+ shape_string_interpolation: cyan_bold 51+ shape_datetime: cyan_bold 52+ shape_list: cyan_bold 53+ shape_table: blue_bold 54+ shape_record: cyan_bold 55+ shape_block: blue_bold 57+ shape_globpattern: cyan_bold 58+ shape_variable: purple 59+ shape_flag: blue_bold 61+ shape_nothing: light_cyan 72+ clickable_links: true 77+ color_config: $default_theme 86+ use_ansi_coloring: true 93+ file_format: "plaintext" 101+ name: completion_menu 102+ only_buffer_difference: false 112+ selected_text: green_reverse 113+ description_text: yellow 118+ only_buffer_difference: true 126+ selected_text: green_reverse 127+ description_text: yellow 132+ only_buffer_difference: true 140+ description_rows: 10 144+ selected_text: green_reverse 145+ description_text: yellow 153+ only_buffer_difference: false 163+ selected_text: green_reverse 164+ description_text: yellow 166+ source: { |buffer, position| 168+ | where command =~ $buffer 169+ | each { |it| {value: $it.command description: $it.usage} } 174+ only_buffer_difference: true 182+ selected_text: green_reverse 183+ description_text: yellow 185+ source: { |buffer, position| 187+ | where name =~ $buffer 189+ | each { |it| {value: $it.name description: $it.type} } 193+ name: commands_with_description 194+ only_buffer_difference: true 202+ description_rows: 10 206+ selected_text: green_reverse 207+ description_text: yellow 209+ source: { |buffer, position| 211+ | where command =~ $buffer 212+ | each { |it| {value: $it.command description: $it.usage} } 218+ name: completion_menu 224+ { send: menu name: completion_menu } 230+ name: completion_previous 233+ mode: [emacs, vi_normal, vi_insert] 234+ event: { send: menuprevious } 243+ { send: menu name: history_menu } 244+ { send: menupagenext } 249+ name: history_previous 255+ { send: menupageprevious } 265+ mode: [emacs, vi_normal, vi_insert] 266+ event: { send: menu name: commands_menu } 272+ mode: [emacs, vi_normal, vi_insert] 273+ event: { send: menu name: vars_menu } 276+ name: commands_with_description 279+ mode: [emacs, vi_normal, vi_insert] 280+ event: { send: menu name: commands_with_description } 287+overlay use coreutils.nu new file mode 100644+45 / −0 text lines
4+$env.WIN32 = ( $nu.os-info.name =~ "windows" ) 5+$env.NURC_DIR = ( $nu.config-path | path expand | path dirname ) 6+$env.DOTFILES = ( $env.NURC_DIR | path join ".." | path expand ) 7+$env.WORKSPACE = if $env.WIN32 { "W:/" } else { "~/Workspace" | path expand } 8+$env.NOTES = if $env.WIN32 { "N:/" } else { "~/Notes" | path expand } 9+if ($env | get -i TERM_PROGRAM) == WezTerm { 10+ $env.TERM = "wezterm" 11+ $env.TERMCAP = ~/.terminfo/w/wezterm 15+$env.LS_COLORS = (try { vivid generate ayu | into string } catch {""}) 21+$env.ENV_CONVERSIONS = { 23+ from_string: { |s| $s | split row (char esep) } 24+ to_string: { |v| $v | str join (char esep) } 27+ from_string: { |s| $s | split row (char esep) } 28+ to_string: { |v| $v | str join (char esep) } 34+ ($nu.config-path | path dirname | path join 'modules'), 35+ ($nu.config-path | path dirname | path join 'completions') 38+alias cb = flatpak run app.getclipboard.Clipboard 40+$env.CLIPBOARD_EDITOR = nvim 41+$env.CLIPBOARD_HISTORY = 100000 42+$env.CLIPBOARD_PERSISTDIR = /home/oli/Clipboard 43+$env.CLIPBOARD_NOAUDIO = 1 45+$env.CLIPBOARD_THEME = light +2 / −0 text lines
3737* add nu-check to nvim-lint* add nu-check to nvim-lint 3838* autocomplete in cmdline does not work no more* autocomplete in cmdline does not work no more 3939* make telescope highlights more like NormalFloat* make telescope highlights more like NormalFloat 40+* create facade over vim.api.nvim_create_user_command 41+* fix autocomplete in cmdline neovim/lazy-lock.json
Modified+23 / −21 text lines
33 "LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" }, "LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" }, 44 "better-escape.nvim": { "branch": "master", "commit": "7031dc734add47bb71c010e0551829fa5799375f" }, "better-escape.nvim": { "branch": "master", "commit": "7031dc734add47bb71c010e0551829fa5799375f" }, 55 "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, 6- "cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" }, 6+ "cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" }, 77 "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, 8+ "cmp-nvim-lsp-document-symbol": { "branch": "main", "commit": "f0f53f704c08ea501f9d222b23491b0d354644b0" }, 9+ "cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" }, 810 "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, 911 "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, 1012 "diffview.nvim": { "branch": "main", "commit": "d38c1b5266850f77f75e006bcc26213684e1e141" }, "diffview.nvim": { "branch": "main", "commit": "d38c1b5266850f77f75e006bcc26213684e1e141" }, 1113 "dressing.nvim": { "branch": "master", "commit": "1f2d1206a03bd3add8aedf6251e4534611de577f" }, "dressing.nvim": { "branch": "master", "commit": "1f2d1206a03bd3add8aedf6251e4534611de577f" }, 12- "flash.nvim": { "branch": "main", "commit": "6d76c5dee65181ab55cbdfb0760260e800d643f4" }, 14+ "flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" }, 1315 "friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" }, "friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" }, 14- "gen.nvim": { "branch": "main", "commit": "c7ead6c815fa9c2c0849db666b777b592610a226" }, 15- "gitsigns.nvim": { "branch": "main", "commit": "ff01d34daaed72f271a8ffa088a7e839a60c640f" }, 16+ "gen.nvim": { "branch": "main", "commit": "de6952db44082b8931a237d6af7fa729a06f6b25" }, 17+ "gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" }, 1618 "glow.nvim": { "branch": "main", "commit": "5b38fb7b6e806cac62707a4aba8c10c5f14d5bb5" }, "glow.nvim": { "branch": "main", "commit": "5b38fb7b6e806cac62707a4aba8c10c5f14d5bb5" }, 1719 "heirline.nvim": { "branch": "master", "commit": "7f1e805dfc001d5dbb7d894105063f463f6c7dcc" }, "heirline.nvim": { "branch": "master", "commit": "7f1e805dfc001d5dbb7d894105063f463f6c7dcc" }, 1820 "hlargs.nvim": { "branch": "main", "commit": "6218a401824c5733ac50b264991b62d064e85ab2" }, "hlargs.nvim": { "branch": "main", "commit": "6218a401824c5733ac50b264991b62d064e85ab2" }, 19- "indent-blankline.nvim": { "branch": "master", "commit": "0fe34b4c1b926e106d105d3ae88ef6cbf6743572" }, 20- "lazy.nvim": { "branch": "main", "commit": "276e572f645430bcfd6fd25faa301ea9077f6ab1" }, 21+ "indent-blankline.nvim": { "branch": "master", "commit": "046e2cf04e08ece927bacbfb87c5b35c0b636546" }, 22+ "lazy.nvim": { "branch": "main", "commit": "e42fccc3cda70266e0841c5126de2c23e8982800" }, 2123 "lspkind.nvim": { "branch": "master", "commit": "57610d5ab560c073c465d6faf0c19f200cb67e6e" }, "lspkind.nvim": { "branch": "master", "commit": "57610d5ab560c073c465d6faf0c19f200cb67e6e" }, 2224 "lush.nvim": { "branch": "main", "commit": "966aad1accd47fa11fbe2539234f81f678fef2de" }, "lush.nvim": { "branch": "main", "commit": "966aad1accd47fa11fbe2539234f81f678fef2de" }, 2325 "mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" }, "mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" }, 2426 "mini.align": { "branch": "main", "commit": "e3a0c114d3fea0479f8e8ee3e273c7ca4ba6ea8d" }, "mini.align": { "branch": "main", "commit": "e3a0c114d3fea0479f8e8ee3e273c7ca4ba6ea8d" }, 2527 "mini.bracketed": { "branch": "main", "commit": "d99f8f6c93e2a4cff1ebc27072d74ba400c8d241" }, "mini.bracketed": { "branch": "main", "commit": "d99f8f6c93e2a4cff1ebc27072d74ba400c8d241" }, 26- "mini.colors": { "branch": "main", "commit": "9b97254bed6258d8174fa436cc9e54b13ba4c0ac" }, 27- "mini.starter": { "branch": "main", "commit": "733224e90e842a2fb6dba9eaae2dc765ba9d6a41" }, 28+ "mini.colors": { "branch": "main", "commit": "a84b460fd5012a6af878d6beb96e912181f25c30" }, 29+ "mini.starter": { "branch": "main", "commit": "c74bdde61385360b02ca9fd7731ebce8903d78d7" }, 2830 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" }, "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" }, 29- "neodev.nvim": { "branch": "main", "commit": "a4b6e7ca11ff5be2264d5c169fcedd97d8699ec4" }, 31+ "neodev.nvim": { "branch": "main", "commit": "d617d9eb27e73e701e446874c6ea2cb528719260" }, 3032 "neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" }, "neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" }, 31- "noice.nvim": { "branch": "main", "commit": "b990101f508b29470bfa16cdf3c08f040d85b435" }, 33+ "noice.nvim": { "branch": "main", "commit": "50fc77bcd75cf32374521fb227e9f41f3fe1521a" }, 3234 "nrpattern.nvim": { "branch": "master", "commit": "f862ce687761078ef3155688151c55f69d28453e" }, "nrpattern.nvim": { "branch": "master", "commit": "f862ce687761078ef3155688151c55f69d28453e" }, 3335 "nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" }, "nui.nvim": { "branch": "main", "commit": "c0c8e347ceac53030f5c1ece1c5a5b6a17a25b32" }, 34- "nvim-autopairs": { "branch": "master", "commit": "748e72c05495a3d30e88a6ef04b21697019a9aa9" }, 35- "nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" }, 36+ "nvim-autopairs": { "branch": "master", "commit": "0f04d78619cce9a5af4f355968040f7d675854a1" }, 37+ "nvim-cmp": { "branch": "main", "commit": "51260c02a8ffded8e16162dcf41a23ec90cfba62" }, 3638 "nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" }, "nvim-colorizer.lua": { "branch": "master", "commit": "dde3084106a70b9a79d48f426f6d6fec6fd203f7" }, 3739 "nvim-genghis": { "branch": "main", "commit": "ba59d6fd8440c9b8928acd22b845d18fe9a8b848" }, "nvim-genghis": { "branch": "main", "commit": "ba59d6fd8440c9b8928acd22b845d18fe9a8b848" }, 3840 "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" }, "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" }, 3941 "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" }, "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" }, 4042 "nvim-neoclip.lua": { "branch": "main", "commit": "4e406ae0f759262518731538f2585abb9d269bac" }, "nvim-neoclip.lua": { "branch": "main", "commit": "4e406ae0f759262518731538f2585abb9d269bac" }, 4143 "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, 42- "nvim-surround": { "branch": "main", "commit": "1c2ef599abeeb98e40706830bcd27e90e259367a" }, 43- "nvim-treesitter": { "branch": "master", "commit": "eefea35865f1fccc090af7700453d8a979c92035" }, 44- "nvim-treesitter-textobjects": { "branch": "master", "commit": "76c7a89b41de77a4f83fb77fa072c5ad7605fe3b" }, 44+ "nvim-surround": { "branch": "main", "commit": "4f0e1f470595af067eca9b872778d83c7f52f134" }, 45+ "nvim-treesitter": { "branch": "master", "commit": "44762abc90725e279f3b9cfbe4cafb41ea72f09b" }, 46+ "nvim-treesitter-textobjects": { "branch": "master", "commit": "eb208bfdfcf76efea0424747e23e44641e13aaa6" }, 4547 "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, 4648 "nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" }, 47- "nvim-web-devicons": { "branch": "master", "commit": "3af745113ea537f58c4b1573b64a429fefad9e07" }, 48- "oil.nvim": { "branch": "stevearc-trash", "commit": "b62f680059fffcf7ff89fd88126fbca12418df20" }, 49- "persistence.nvim": { "branch": "main", "commit": "9730a073fd8270e91729d666bcef6a5abc007f02" }, 49+ "nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" }, 50+ "oil.nvim": { "branch": "stevearc-trash", "commit": "9487fdfeb5b50ebcd46e644fbdc9d15ac9b9f55d" }, 51+ "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, 5052 "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, 5153 "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, 52- "schemastore.nvim": { "branch": "main", "commit": "f3c4985093716c8ddf93731609ebfc1df7c5335d" }, 54+ "schemastore.nvim": { "branch": "main", "commit": "e0884542c973b92a193274eaebedd8d2ae05ceb5" }, 5355 "specs.nvim": { "branch": "main", "commit": "2743e412bbe21c9d73954c403d01e8de7377890d" }, "specs.nvim": { "branch": "main", "commit": "2743e412bbe21c9d73954c403d01e8de7377890d" }, 5456 "substitute.nvim": { "branch": "main", "commit": "cf35db50188f3d7de624ae391c9bb9f2e9de5610" }, "substitute.nvim": { "branch": "main", "commit": "cf35db50188f3d7de624ae391c9bb9f2e9de5610" }, 5557 "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, 6264 "treesj": { "branch": "main", "commit": "070e6761d0b11a55446d988a69908f7a0928dbab" }, "treesj": { "branch": "main", "commit": "070e6761d0b11a55446d988a69908f7a0928dbab" }, 6365 "twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" }, "twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" }, 6466 "virt-column.nvim": { "branch": "master", "commit": "9c82009c53e5f9d43b6c0f5e8cb69c53663b786a" }, "virt-column.nvim": { "branch": "master", "commit": "9c82009c53e5f9d43b6c0f5e8cb69c53663b786a" }, 65- "which-key.nvim": { "branch": "main", "commit": "6962dae3565369363b59dd51fb206051555fcb4d" }, 66- "zen-mode.nvim": { "branch": "main", "commit": "cb73b8bd0ef9d765b942db09dc762c603a89ae44" } 67+ "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }, 68+ "zen-mode.nvim": { "branch": "main", "commit": "50e2e2a36cc97847d9ab3b1a3555ba2ef6839b50" } 6769}No final newline}No final newline neovim/lua/bugabinga/lsp/init.lua
Modified+6 / −1 text lines
6161 local buffer_path = vim.api.nvim_buf_get_name( bufnr ) local buffer_path = vim.api.nvim_buf_get_name( bufnr ) 63- vim.print( 'searching lsp client for:', match, bufnr, buffer_path ) 63+ vim.notify( string.format( 'searching lsp client for: match: %s, buffer: %s, path: %s', match, bufnr, buffer_path ) ) 6565 local potential_client_configs = vim.iter( lsp_client_configs ) local potential_client_configs = vim.iter( lsp_client_configs ) 6666 :map( function ( config ) :map( function ( config ) 107112 for _, config in ipairs( potential_client_configs ) do for _, config in ipairs( potential_client_configs ) do 108113 local root_dir = type( config.root_dir ) == 'string' and config.root_dir or config.root_dir( buffer_path ) local root_dir = type( config.root_dir ) == 'string' and config.root_dir or config.root_dir( buffer_path ) 109114 local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities() neovim/lua/bugabinga/nugu/init.lua
Modified+7 / −7 text lines
3939local content_accent = hsl( palette.content_accent )local content_accent = hsl( palette.content_accent ) 4040local content_minor = hsl( palette.content_minor )local content_minor = hsl( palette.content_minor ) 4141local content_focus = hsl( palette.content_focus )local content_focus = hsl( palette.content_focus ) 42-local content_unfocus = flux(hsl( palette.content_unfocus ), 33) 42+local content_unfocus = flux( hsl( palette.content_unfocus ), 33 ) 4343local content_important_global = hsl( palette.content_important_global )local content_important_global = hsl( palette.content_important_global ) 4444local content_important_local = hsl( palette.content_important_local )local content_important_local = hsl( palette.content_important_local ) 6868 FloatBorder { fg = ui_accent, bg = Normal.bg }, FloatBorder { fg = ui_accent, bg = Normal.bg }, 6969 ColorColumn { fg = ui_important_global, bg = Normal.bg }, ColorColumn { fg = ui_important_global, bg = Normal.bg }, 7070 Conceal { fg = content_focus, bg = Normal.bg }, Conceal { fg = content_focus, bg = Normal.bg }, 71+ Cursor { bg = ui_accent }, 7474 Directory { fg = Normal.fg }, Directory { fg = Normal.fg }, 102102 SpellCap { SpellBad }, SpellCap { SpellBad }, 103103 SpellLocal { SpellBad }, SpellLocal { SpellBad }, 104104 SpellRare { SpellBad }, SpellRare { SpellBad }, 105- StatusLine { fg = ui_normal, bg = ui_backdrop }, 106- StatusLineNC { fg = ui_minor, bg = ui_backdrop }, 107- Winbar { fg = ui_normal, bg = LineNr.bg }, 105+ StatusLine { fg = ui_focus, bg = ui_unfocus }, 106+ StatusLineNC { fg = ui_normal, bg = ui_unfocus }, 107+ Winbar { fg = ui_focus, bg = StatusLine.bg }, 108108 WinbarNC { fg = ui_minor, bg = LineNr.bg }, WinbarNC { fg = ui_minor, bg = LineNr.bg }, 109109 Title { fg = content_important_global, sp = content_important_global, gui = 'bold underline' }, Title { fg = content_important_global, sp = content_important_global, gui = 'bold underline' }, 110110 TabLine { StatusLine }, TabLine { StatusLine }, 111- TabLineFill { bg = TabLine.bg }, 112- TabLineSel { fg = ui_important_global.readable(), bg = ui_important_global, gui = 'underline bold' }, 111+ TabLineFill { fg = TabLine.fg, bg = content_backdrop }, 112+ TabLineSel { fg = ui_important_global, bg = ui_unfocus }, 113113 Visual { fg = content_focus.readable(), bg = content_focus }, Visual { fg = content_focus.readable(), bg = content_focus }, 114114 VisualNOS { fg = Visual.fg, bg = flux( Visual.bg, -42 ) }, VisualNOS { fg = Visual.fg, bg = flux( Visual.bg, -42 ) }, 115115 WarningMsg { fg = warning, gui = 'bold' }, WarningMsg { fg = warning, gui = 'bold' }, neovim/lua/bugabinga/options/keymaps.lua
Modified+3 / −24 text lines
8989map.normal.visual {map.normal.visual { 90- description = 'yank into system clipboard', 90+ description = 'system clipboard motion', 9191 category = 'editing', category = 'editing', 97- description = 'yank line into system clipboard', 98- category = 'editing', 104- description = 'paste before from system clipboard', 105- category = 'editing', 111- description = 'paste after from system clipboard', 112- category = 'editing', 11796map.insert {map.insert { neovim/lua/bugabinga/plugins/autopairs.lua
Modified+19 / −3 text lines
1+local ignored = require 'std.ignored' 2- 'windwp/nvim-autopairs', 3- event = "InsertEnter", 4+ 'windwp/nvim-autopairs', 5+ event = 'InsertEnter', 10+ local autopairs = require 'nvim-autopairs' 12+ disable_filetype = ignored.filetypes, 14+ local cmp_autopairs = require 'nvim-autopairs.completion.cmp' 15+ local cmp = require 'cmp' 18+ cmp_autopairs.on_confirm_done() neovim/lua/bugabinga/plugins/cmp.lua
Modified+36 / −32 text lines
66 dependencies = { dependencies = { 77 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-buffer', 88 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-nvim-lsp', 9- 'hrsh7th/cmp-cmdline', 109 'hrsh7th/cmp-path', 'hrsh7th/cmp-path', 10+ 'hrsh7th/cmp-nvim-lsp-document-symbol', 11+ 'hrsh7th/cmp-nvim-lsp-signature-help', 1113 { 'L3MON4D3/LuaSnip', version = '2.*', build = 'make install_jsregexp' }, { 'L3MON4D3/LuaSnip', version = '2.*', build = 'make install_jsregexp' }, 1214 'saadparwaiz1/cmp_luasnip', 'saadparwaiz1/cmp_luasnip', 1315 'rafamadriz/friendly-snippets', 'rafamadriz/friendly-snippets', 2931 completion = { completion = { 3032 autocomplete = false, autocomplete = false, 33+ completeopt = 'menu,menuone,preview,noselect', 36+ completion = cmp.config.window.bordered(), 37+ documentation = cmp.config.window.bordered(), 3339 formatting = { formatting = { 3440 format = lspkind.cmp_format { format = lspkind.cmp_format { 3743 ellipsis_char = '…', ellipsis_char = '…', 40- experimental = { ghost_text = true, }, 4147 preselect = cmp.PreselectMode.None, preselect = cmp.PreselectMode.None, 4248 snippet = { expand = function ( args ) luasnip.lsp_expand( args.body ) end }, snippet = { expand = function ( args ) luasnip.lsp_expand( args.body ) end }, 4349 mapping = { mapping = { 4551 ['<c-n>'] = cmp.mapping.select_next_item(), ['<c-n>'] = cmp.mapping.select_next_item(), 4652 ['<c-k>'] = cmp.mapping.select_prev_item(), ['<c-k>'] = cmp.mapping.select_prev_item(), 4753 ['<c-j>'] = cmp.mapping.select_next_item(), ['<c-j>'] = cmp.mapping.select_next_item(), 54+ ['<tab>'] = cmp.mapping( function ( fallback ) 55+ if cmp.visible() then 56+ cmp.select_next_item() 57+ elseif luasnip.expand_or_locally_jumpable() then 58+ luasnip.expand_or_jump() 63+ ['<s-tab>'] = cmp.mapping( function ( fallback ) 64+ if cmp.visible() then 65+ cmp.select_prev_item() 66+ elseif luasnip.locally_jumpable( -1 ) then 5072 ['<c-b>'] = cmp.mapping.scroll_docs( -2 ), ['<c-b>'] = cmp.mapping.scroll_docs( -2 ), 5173 ['<c-f>'] = cmp.mapping.scroll_docs( 2 ), ['<c-f>'] = cmp.mapping.scroll_docs( 2 ), 5274 ['<c-u>'] = cmp.mapping.scroll_docs( -4 ), ['<c-u>'] = cmp.mapping.scroll_docs( -4 ), 5375 ['<c-d>'] = cmp.mapping.scroll_docs( 4 ), ['<c-d>'] = cmp.mapping.scroll_docs( 4 ), 5476 ['<c-space>'] = cmp.mapping.complete {}, ['<c-space>'] = cmp.mapping.complete {}, 5577 ['<esc>'] = cmp.mapping.abort(), ['<esc>'] = cmp.mapping.abort(), 56- ['<cr>'] = cmp.mapping.confirm { select = false } 78+ ['<cr>'] = cmp.mapping.confirm { 79+ behaviour = cmp.ConfirmBehavior.Replace, 5883 sources = cmp.config.sources { sources = cmp.config.sources { 59- { name = 'luasnip' }, 84+ { name = 'nvim_lsp_signature_help' }, 6085 { name = 'nvim_lsp' }, { name = 'nvim_lsp' }, 86+ { name = 'nvim_lsp_document_symbol' }, 87+ { name = 'luasnip' }, 6288 { name = 'path' }, { name = 'path' }, 90+ { name = 'buffer', keyword_length = 3 }, 72100 { name = 'path' }, { name = 'path' }, 76- cmp.setup.cmdline( '/', { 77- mapping = cmp.mapping.preset.cmdline(), 83- cmp.setup.cmdline( '?', { 84- mapping = cmp.mapping.preset.cmdline(), 90- cmp.setup.cmdline( ':', { 91- mapping = cmp.mapping.preset.cmdline(), 92- sources = cmp.config.sources { neovim/lua/bugabinga/plugins/gitsigns.lua
Modified+124 / −125 text lines
1212 changedelete = { text = '~' }, changedelete = { text = '~' }, 1313 untracked = { text = '┆' }, untracked = { text = '┆' }, 17- border = vim.g.border_style, 19- current_line_blame = true, 20- current_line_blame_opts = { 21- ignore_whitespace = true, 23- current_line_blame_formatter = '<author>(<author_time:%d.%m.%Y>): <summary>', 25- on_attach = function ( bufnr ) 26- local gitsigns = require 'gitsigns' 16+ border = vim.g.border_style, 18+ current_line_blame = true, 19+ current_line_blame_opts = { 20+ ignore_whitespace = true, 22+ current_line_blame_formatter = '<author>(<author_time:%d.%m.%Y>): <summary>', 23+ on_attach = function ( bufnr ) 24+ local gitsigns = require 'gitsigns' 29- description = 'Goto next hunk', 33- command = gitsigns.next_hunk, 27+ description = 'Goto next hunk', 31+ command = gitsigns.next_hunk, 37- description = 'Goto previous hunk', 41- command = gitsigns.prev_hunk, 35+ description = 'Goto previous hunk', 39+ command = gitsigns.prev_hunk, 45- description = 'Stage hunk', 49- command = gitsigns.stage_hunk, 43+ description = 'Stage hunk', 47+ command = gitsigns.stage_hunk, 53- description = 'Stage hunk', 57- command = function () gitsigns.stage_hunk { vim.fn.line '.', vim.fn.line 'v' } end, 51+ description = 'Stage hunk', 55+ command = function () gitsigns.stage_hunk { vim.fn.line '.', vim.fn.line 'v' } end, 61- description = 'Reset hunk', 65- command = gitsigns.reset_hunk, 59+ description = 'Reset hunk', 63+ command = gitsigns.reset_hunk, 69- description = 'Reset hunk', 73- command = function () gitsigns.reset_hunk { vim.fn.line '.', vim.fn.line 'v' } end, 67+ description = 'Reset hunk', 71+ command = function () gitsigns.reset_hunk { vim.fn.line '.', vim.fn.line 'v' } end, 77- description = 'Undo stage hunk', 81- command = gitsigns.undo_stage_hunk, 75+ description = 'Undo stage hunk', 79+ command = gitsigns.undo_stage_hunk, 85- description = 'Stage buffer', 89- command = gitsigns.stage_buffer, 83+ description = 'Stage buffer', 87+ command = gitsigns.stage_buffer, 93- description = 'Reset buffer', 97- command = gitsigns.reset_buffer, 91+ description = 'Reset buffer', 95+ command = gitsigns.reset_buffer, 101- description = 'Preview hunk', 103- keys = '<leader>hp', 105- command = gitsigns.preview_hunk, 99+ description = 'Preview hunk', 101+ keys = '<leader>hp', 103+ command = gitsigns.preview_hunk, 109- description = 'Blame line', 111- keys = '<leader>hb', 113- command = function () gitsigns.blame_line { full = true } end, 107+ description = 'Blame line', 109+ keys = '<leader>hb', 111+ command = function () gitsigns.blame_line { full = true } end, 117- description = 'Diff this', 119- keys = '<leader>hd', 121- command = gitsigns.diffthis, 115+ description = 'Diff this', 117+ keys = '<leader>hd', 119+ command = gitsigns.diffthis, 125- description = 'Diff this ~', 127- keys = '<leader>hD', 129- command = function () gitsigns.diffthis '~' end, 123+ description = 'Diff this ~', 125+ keys = '<leader>hD', 127+ command = function () gitsigns.diffthis '~' end, 133- description = 'Toggle current line blame', 135- keys = '<leader>tb', 137- command = gitsigns.toggle_current_line_blame, 131+ description = 'Toggle current line blame', 133+ keys = '<leader>tb', 135+ command = gitsigns.toggle_current_line_blame, 141- description = 'Toggle deleted', 143- keys = '<leader>td', 145- command = gitsigns.toggle_deleted, 139+ description = 'Toggle deleted', 141+ keys = '<leader>td', 143+ command = gitsigns.toggle_deleted, 148- map.operator_pending.visual { 149- description = 'select hunk', 153- command = ':<C-U>Gitsigns select_hunk<CR>' 146+ map.operator_pending.visual { 147+ description = 'select hunk', 151+ command = ':<C-U>Gitsigns select_hunk<CR>' neovim/lua/bugabinga/plugins/heirline.lua
Modified+10 / −7 text lines
537537 hl = function ( self ) hl = function ( self ) 538538 if self.is_active then if self.is_active then 539- return { fg = utils.get_highlight 'TablineSel'.fg } 539+ return { fg = utils.get_highlight 'TabLineSel'.fg } 540540 elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then 541- return { fg = 'ui_minor' } 541+ return { fg = 'ui_normal' } 543- return { fg = utils.get_highlight 'Tabline'.fg } 543+ return { fg = utils.get_highlight 'TabLine'.fg } 583583 if self.is_active then if self.is_active then 584584 return 'TabLineSel' return 'TabLineSel' 585585 elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then elseif not vim.api.nvim_buf_is_loaded( self.bufnr ) then 586- return { fg = 'ui_minor' } 586+ return { fg = 'ui_normal' } 588588 return 'TabLine' return 'TabLine' 614614 local tabline_buffer_block = utils.surround( local tabline_buffer_block = utils.surround( 615- { icon.block, icon.block }, 616+ ' ' .. icon.slant_left, 617+ icon.slant_right .. ' ', 616619 function ( self ) function ( self ) 617620 if self.is_active then if self.is_active then 618621 return utils.get_highlight 'TabLineSel'.bg return utils.get_highlight 'TabLineSel'.bg 626629 local buffer_line = utils.make_buflist( local buffer_line = utils.make_buflist( 627630 tabline_buffer_block, tabline_buffer_block, 628- { provider = icon.arrow_left, hl = { fg = 'ui_minor', bg = 'ui_backdrop' } }, 629- { provider = icon.arrow_right, hl = { fg = 'ui_minor', bg = 'ui_backdrop' } } 631+ { provider = icon.arrow_left .. ' ', hl = 'TabLineFill' }, 632+ { provider = ' ' .. icon.arrow_right, hl = 'TabLineFill' } 632635 local tabpage = { local tabpage = { neovim/lua/bugabinga/plugins/telescope.lua
Modified+44 / −37 text lines
55 name = 'ripgrep', name = 'ripgrep', 66 name_of_executable = 'rg' name_of_executable = 'rg' 10- name_of_executable = 'fd' 10+ name_of_executable = 'fd' 1414 'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim', 2222 'nvim-telescope/telescope-ui-select.nvim', 'nvim-telescope/telescope-ui-select.nvim', 2323 'jvgrootveld/telescope-zoxide', 'jvgrootveld/telescope-zoxide', 2626 local telescope = require 'telescope' local telescope = require 'telescope' 2727 local builtin = require 'telescope.builtin' local builtin = require 'telescope.builtin' 2828 local actions = require 'telescope.actions' local actions = require 'telescope.actions' 4343 preview_cutoff = 124, preview_cutoff = 124, 4545 file_ignore_patterns = { file_ignore_patterns = { 5757 mappings = { mappings = { 59- ['<C-j>'] = actions.cycle_history_next, 60- ['<C-k>'] = actions.cycle_history_prev, 61- ['<C-n>'] = actions.move_selection_next, 62- ['<C-p>'] = actions.move_selection_previous, 63- ['<C-s>'] = actions.file_split, 59+ ['<c-j>'] = actions.cycle_history_next, 60+ ['<c-k>'] = actions.cycle_history_prev, 61+ ['<c-n>'] = actions.move_selection_next, 62+ ['<c-p>'] = actions.move_selection_previous, 63+ ['<c-s>'] = actions.file_split, 6565 n = { q = actions.close }, n = { q = actions.close }, 9191 description = 'Search help files', description = 'Search help files', 9292 category = 'help', category = 'help', 9393 keys = '<F1>', keys = '<F1>', 94- command = function() builtin.help_tags(dropdown) end, 94+ command = function () builtin.help_tags( dropdown ) end, 98+ description = 'Open last search...', 99+ category = 'plugins', 101+ command = function () builtin.resume() end, 97104 map.normal { map.normal { 98105 description = 'Open search for commands...', description = 'Open search for commands...', 99106 category = 'plugins', category = 'plugins', 101- command = function() builtin.commands() end, 107+ keys = '<c-p><c-m>', 108+ command = function () builtin.commands() end, 104111 map.normal { map.normal { 105112 description = 'Open search for all files...', description = 'Open search for all files...', 106113 category = 'search', category = 'search', 107- keys = '<C-p><C-p>', 108- command = function() builtin.find_files(ivy) end, 114+ keys = '<c-p><c-p>', 115+ command = function () builtin.find_files( ivy ) end, 111118 map.normal { map.normal { 112119 description = 'Open search for all recent files...', description = 'Open search for all recent files...', 113120 category = 'search', category = 'search', 114- keys = '<C-p><C-o>', 115- command = function() builtin.oldfiles(ivy) end, 121+ keys = '<c-p><c-o>', 122+ command = function () builtin.oldfiles( ivy ) end, 118125 map.normal { map.normal { 119126 description = 'Open search for keymaps...', description = 'Open search for keymaps...', 120127 category = 'search', category = 'search', 121- keys = '<C-p><C-k>', 122- command = function() builtin.keymaps(dropdown) end, 128+ keys = '<c-p><c-k>', 129+ command = function () builtin.keymaps( dropdown ) end, 125132 map.normal { map.normal { 126133 description = 'Open search for symbols...', description = 'Open search for symbols...', 127134 category = 'search', category = 'search', 128- keys = '<C-p><C-s>', 129- command = function() builtin.symbols(cursor) end, 135+ keys = '<c-p><c-s>', 136+ command = function () builtin.symbols( cursor ) end, 132139 map.normal { map.normal { 133140 description = 'Open search for all file contents...', description = 'Open search for all file contents...', 134141 category = 'search', category = 'search', 135- keys = '<C-p><C-g>', 136- command = function() builtin.live_grep(ivy) end, 142+ keys = '<c-p><c-g>', 143+ command = function () builtin.live_grep( ivy ) end, 139146 map.normal { map.normal { 140147 description = 'Open search for current buffer content...', description = 'Open search for current buffer content...', 141148 category = 'search', category = 'search', 142- keys = '<C-p><C-b>', 143- command = function() builtin.current_buffer_fuzzy_find(ivy) end, 149+ keys = '<c-p><c-b>', 150+ command = function () builtin.current_buffer_fuzzy_find( ivy ) end, 146153 map.normal { map.normal { 147154 description = 'Open search for buffers...', description = 'Open search for buffers...', 148155 category = 'search', category = 'search', 150- command = function() builtin.buffers(cursor) end, 157+ command = function () builtin.buffers( cursor ) end, neovim/lua/bugabinga/plugins/whichkey.lua
Modified+9 / −7 text lines
4040 wk.register { wk.register { 4141 ['<leader>'] = { ['<leader>'] = { 42- m = { name = 'mark' }, 43- l = { name = 'lsp' }, 42+ m = { name = 'mark', _ = 'which_key_ignore' }, 43+ h = { name = 'hunk', _ = 'which_key_ignore' }, 44+ l = { name = 'lsp', _ = 'which_key_ignore' }, 4546 name = 'swap', name = 'swap', 47+ _ = 'which_key_ignore', 47- p = { name = 'parameter' }, 49+ p = { name = 'parameter', _ = 'which_key_ignore' }, 50- g = { name = 'generate' }, 5253 name = 'toggle', name = 'toggle', 54+ _ = 'which_key_ignore', 54- o = { name = 'options' }, 56+ o = { name = 'options', _ = 'which_key_ignore' }, 57- z = { name = 'lazy' }, 58- [' '] = { name = 'fun' }, 59+ z = { name = 'lazy', _ = 'which_key_ignore' }, 60+ [' '] = { name = 'fun', _ = 'which_key_ignore' }, neovim/lua/std/icon.lua
Modified+2 / −0 text lines
6767 backspace_key = '', backspace_key = '', 6868 leader_key = '', leader_key = '', 6969 start = '', start = '', nushell/config.nu
Modified+0 / −3 text lines
7575 always_trash: true always_trash: true 8077 color_config: $default_theme color_config: $default_theme 8178 use_grid_icons: true use_grid_icons: true 8279 footer_mode: "auto" footer_mode: "auto" +4 / −1 text lines
77$env.WORKSPACE = if $env.WIN32 { "W:/" } else { "~/Workspace" | path expand }$env.WORKSPACE = if $env.WIN32 { "W:/" } else { "~/Workspace" | path expand } 88$env.NOTES = if $env.WIN32 { "N:/" } else { "~/Notes" | path expand }$env.NOTES = if $env.WIN32 { "N:/" } else { "~/Notes" | path expand } 10-$env.TERM = if ($env | get -i TERM_PROGRAM) == WezTerm { "wezterm" } else { "xterm-256color" } 10+if ($env | get -i TERM_PROGRAM) == WezTerm { 11+ $env.TERM = "wezterm" 12+ $env.TERMCAP = ~./termcap/w/wezterm 1316$env.LS_COLORS = (try { vivid generate ayu | into string } catch {""})$env.LS_COLORS = (try { vivid generate ayu | into string } catch {""})