dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Threads Compare Notes Search Review guide CI runs Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
85d19492d4b0c07a8cab1da0951d5c6e51310074
Oliver Jan Krylow <oliver@bugabinga.net > · 27 Sep 2023
unsigned
Browse files Compare with HEAD
Changed files (9) Diff layout Auto Unified Split
EJ-PC-00363.symlinks Modified +10 / −1 text lines
16 16 stackoverflow/sostackoverflow/so17 17 ~/AppData/Roaming/Sam Tay/so~/AppData/Roaming/Sam Tay/so19 + subversion/config.win32 20 20 ~/AppData/Roaming/Subversion/config~/AppData/Roaming/Subversion/config
23 + ~/AppData/Roaming/Subversion/diff.bat26 + ~/AppData/Roaming/Subversion/diff3.bat29 + ~/AppData/Roaming/Subversion/merge.bat22 31 cargo/config.tomlcargo/config.toml23 32 ~/scoop/persist/rustup/.cargo/config.toml~/scoop/persist/rustup/.cargo/config.tomlPC-00625.symlinks Modified +0 / −9 text lines
19 19 subversion/config.win32subversion/config.win3220 20 ~/AppData/Roaming/Subversion/config~/AppData/Roaming/Subversion/config23 - ~/AppData/Roaming/Subversion/diff26 - ~/AppData/Roaming/Subversion/diff329 - ~/AppData/Roaming/Subversion/merge
31 22 subversion/diff.batsubversion/diff.bat32 23 ~/AppData/Roaming/Subversion/diff.bat~/AppData/Roaming/Subversion/diff.bat+7 / −7 text lines
11 - require 'bugabinga.options' 11 + require 'bugabinga.options' 13 - require 'bugabinga.lazy' 13 + require 'bugabinga.lazy' 15 - require 'bugabinga.diagnostic' 16 - require 'bugabinga.trim' 17 - require 'bugabinga.mark' 18 - require 'bugabinga.lsp' 15 + require 'bugabinga.diagnostic' 16 + require 'bugabinga.trim' 17 + require 'bugabinga.mark' 18 + require 'bugabinga.lsp' neovim/lazy-lock.json Modified +1 / −1 text lines
38 38 "nvim-neoclip.lua" : { "branch" : "main" , "commit" : "4e406ae0f759262518731538f2585abb9d269bac" }, "nvim-neoclip.lua" : { "branch" : "main" , "commit" : "4e406ae0f759262518731538f2585abb9d269bac" },39 39 "nvim-notify" : { "branch" : "master" , "commit" : "ea9c8ce7a37f2238f934e087c255758659948e0f" }, "nvim-notify" : { "branch" : "master" , "commit" : "ea9c8ce7a37f2238f934e087c255758659948e0f" },40 40 "nvim-surround" : { "branch" : "main" , "commit" : "0d6882635817a2677749a330127d12ac30a4f3c8" }, "nvim-surround" : { "branch" : "main" , "commit" : "0d6882635817a2677749a330127d12ac30a4f3c8" },41 - "nvim-treesitter" : { "branch" : "master" , "commit" : "f3fb301b267e85e4cbc725561da4a82b1c3089c8" },41 + "nvim-treesitter" : { "branch" : "master" , "commit" : "b5873bacb4ce44e0aac313abb28bb72e67fc9a53" },42 42 "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "bd103502252027434ec42f628d2dbf54821d4ce6" }, "nvim-treesitter-textobjects" : { "branch" : "master" , "commit" : "bd103502252027434ec42f628d2dbf54821d4ce6" },43 43 "nvim-ts-autotag" : { "branch" : "main" , "commit" : "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, "nvim-ts-autotag" : { "branch" : "main" , "commit" : "6be1192965df35f94b8ea6d323354f7dc7a557e4" },44 44 "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "95e9ba9de4289d221666b66fd930d157c7ca08c6" }, "nvim-ts-context-commentstring" : { "branch" : "main" , "commit" : "95e9ba9de4289d221666b66fd930d157c7ca08c6" },neovim/lua/bugabinga/lsp/init.lua Modified +57 / −41 text lines
51 51 local lsp_start = function ( file_type_event )local lsp_start = function ( file_type_event )54 52 local match = file_type_event.match local match = file_type_event.match56 54 local matches_to_ignore = ignored.filetypes local matches_to_ignore = ignored.filetypes60 58 local bufnr = file_type_event.buf local bufnr = file_type_event.buf61 59 local buffer_path = vim.api.nvim_buf_get_name( bufnr ) local buffer_path = vim.api.nvim_buf_get_name( bufnr )61 + vim.print( 'searching lsp client for:' , match, bufnr, buffer_path )65 63 local potential_client_configs = vim.iter( lsp_client_configs ) local potential_client_configs = vim.iter( lsp_client_configs )66 64 :map( function ( config ) :map( function ( config )107 105 for _, config in ipairs ( potential_client_configs ) do for _, config in ipairs ( potential_client_configs ) do 108 106 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 )109 107 local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities()110 - local cmp_capabilities = want 'cmp_nvim_lsp' ( function ( cmp )111 - return cmp.default_capabilities()108 + local cmp_capabilities = want 'cmp_nvim_lsp' ( function ( cmp ) return cmp . default_capabilities ( ) end , { } ) 113 109 capabilities = table .extend( 'force' , capabilities, cmp_capabilities, config.capabilities ) capabilities = table .extend( 'force' , capabilities, cmp_capabilities, config.capabilities )130 126 on_error = function ( code, ... ) vim.print( 'LSP ERROR' , code, ... ) end , on_error = function ( code, ... ) vim.print( 'LSP ERROR' , code, ... ) end ,131 127 before_init = config.before_init, before_init = config.before_init,129 + on_exit = function ( code, signal, client_id ) vim.print( ' LSP CLIENT EXIT' , code, signal, client_id ) end ,135 131 trace = 'off' , trace = 'off' ,136 132 flags = { allow_incremental_sync = true , debounce_text_changes = 250 , exit_timeout = 200 }, flags = { allow_incremental_sync = true , debounce_text_changes = 250 , exit_timeout = 200 },145 141 bufnr = bufnr, bufnr = bufnr,144 + reuse_client = function ( existing_client, new_config )154 + local same_name = existing_client.name == new_config.name156 + local new_root = vim.fs.normalize( new_config.root_dir )157 + local existing_root = vim.fs.normalize( existing_client.workspace_folders[1 ].name )158 + local same_root = new_root == existing_root160 + local reuse = same_name and same_root223 + if client.server_capabilities.inlayHintProvider then 226 + description = 'Toggle inlay hints' ,229 + keys = '<leader>ti' ,230 + command = function () vim.lsp.inlay_hint( bufnr, nil ) end ,220 235 description = 'Format current buffer' , description = 'Format current buffer' ,221 236 category = 'lsp' , category = 'lsp' ,222 237 buffer = bufnr, buffer = bufnr,223 238 keys = '<c-s>' , keys = '<c-s>' ,225 240 command = vim.lsp.buf.format, command = vim.lsp.buf.format,229 244 description = 'Show hover documentation above cursor.' , description = 'Show hover documentation above cursor.' ,230 245 category = 'lsp' , category = 'lsp' ,231 246 buffer = bufnr, buffer = bufnr,232 247 keys = { 'K' , '<leader>lk' }, keys = { 'K' , '<leader>lk' },233 248 command = vim.lsp.buf.hover, command = vim.lsp.buf.hover,237 252 description = 'Show signature help under cursor.' , description = 'Show signature help under cursor.' ,238 253 category = 'lsp' , category = 'lsp' ,239 254 buffer = bufnr, buffer = bufnr,240 255 keys = '<leader>ls' , keys = '<leader>ls' ,241 256 command = vim.lsp.buf.signature_help, command = vim.lsp.buf.signature_help,245 260 description = 'Show available code actions on current line.' , description = 'Show available code actions on current line.' ,246 261 category = 'lsp' , category = 'lsp' ,247 262 buffer = bufnr, buffer = bufnr,248 263 keys = '<leader>la' , keys = '<leader>la' ,249 264 command = vim.lsp.buf.code_action, command = vim.lsp.buf.code_action,253 268 description = 'Goto to definition of symbol under cursor.' , description = 'Goto to definition of symbol under cursor.' ,254 269 category = 'lsp' , category = 'lsp' ,255 270 buffer = bufnr, buffer = bufnr,256 271 keys = '<leader>ld' , keys = '<leader>ld' ,257 272 command = vim.lsp.buf.definition, command = vim.lsp.buf.definition,261 276 description = 'Show implementations of symbol under cursor.' , description = 'Show implementations of symbol under cursor.' ,262 277 category = 'lsp' , category = 'lsp' ,263 278 buffer = bufnr, buffer = bufnr,264 279 keys = '<leader>li' , keys = '<leader>li' ,265 280 command = vim.lsp.buf.implementation, command = vim.lsp.buf.implementation,269 284 description = 'Show incoming calls of symbol under cursor.' , description = 'Show incoming calls of symbol under cursor.' ,270 285 category = 'lsp' , category = 'lsp' ,271 286 buffer = bufnr, buffer = bufnr,272 287 keys = '<leader>lci' , keys = '<leader>lci' ,273 288 command = vim.lsp.buf.incoming_calls, command = vim.lsp.buf.incoming_calls,277 292 description = 'Show outgoing calls of symbol under cursor.' , description = 'Show outgoing calls of symbol under cursor.' ,278 293 category = 'lsp' , category = 'lsp' ,279 294 buffer = bufnr, buffer = bufnr,280 295 keys = '<leader>lco' , keys = '<leader>lco' ,281 296 command = vim.lsp.buf.outgoing_calls, command = vim.lsp.buf.outgoing_calls,285 300 description = 'Show references of symbol under cursor.' , description = 'Show references of symbol under cursor.' ,286 301 category = 'lsp' , category = 'lsp' ,287 302 buffer = bufnr, buffer = bufnr,288 303 keys = '<leader>lr' , keys = '<leader>lr' ,289 304 command = vim.lsp.buf.references, command = vim.lsp.buf.references,293 308 description = 'Rename symbol under cursor.' , description = 'Rename symbol under cursor.' ,294 309 category = 'lsp' , category = 'lsp' ,295 310 buffer = bufnr, buffer = bufnr,296 311 keys = { '<f2>' , '<leader>ln' }, keys = { '<f2>' , '<leader>ln' },297 312 command = vim.lsp.buf.rename, command = vim.lsp.buf.rename,301 316 local lsp_detach = function ( args )local lsp_detach = function ( args )317 332 vim.bo[bufnr].omnifunc = old_omnifunc vim.bo[bufnr].omnifunc = old_omnifunc320 - for _, keybind_delete in ipairs (keybinds) do 335 + for _, keybind_delete in ipairs ( keybinds ) do 321 336 keybind_delete() keybind_delete()326 340 auto 'lsp' {auto 'lsp' {349 363 local lsp_info = function ( command )local lsp_info = function ( command )350 364 local all_or_current = command.args and command.args == 'all' and {} or { bufnr = 0 } local all_or_current = command.args and command.args == 'all' and {} or { bufnr = 0 }351 - local active_clients = vim.lsp.get_active_clients ( all_or_current )365 + local active_clients = vim.lsp.get_clients ( all_or_current )353 367 local infos = vim.iter( active_clients ) local infos = vim.iter( active_clients )354 368 :map( function ( client ) :map( function ( client )393 407 desc = 'Shows detailed information about running LSP clients.' , desc = 'Shows detailed information about running LSP clients.' ,396 412 return setmetatable ( _, {} )return setmetatable ( _, {} )neovim/lua/bugabinga/nugu/init.lua Modified +1 / −0 text lines
228 228 sym '@label' { Label }, sym '@label' { Label },229 229 sym '@operator' { Operator }, sym '@operator' { Operator },230 230 sym '@keyword' { Keyword }, sym '@keyword' { Keyword },
231 + sym '@keyword.return' { fg = Keyword.fg, bg = Keyword.bg, gui = 'underline bold' },231 232 sym '@exception' { Exception }, sym '@exception' { Exception },232 233 sym '@variable' { Identifier }, sym '@variable' { Identifier },233 234 sym '@type' { Type }, sym '@type' { Type },nushell/modules/aliases.nu Modified +1 / −1 text lines
2 2 export alias show = batexport alias show = bat3 3 export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }4 4 export alias web = firefoxexport alias web = firefox5 + export alias edit = nvim 7 7 export alias backup = bakexport alias backup = baksubversion/config Modified +4 / −5 text lines
47 47 ### This will override the environment variables that Subversion### This will override the environment variables that Subversion48 48 ### examines by default to find this information ($EDITOR, ### examines by default to find this information ($EDITOR, 49 49 ### et al).### et al).51 51 ### Set diff-cmd to the absolute path of your 'diff' program.### Set diff-cmd to the absolute path of your 'diff' program.52 52 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use53 53 ### Subversion's internal diff implementation.### Subversion's internal diff implementation.54 - # TODO windows versions as bat files55 - diff-cmd = /home/oli/.subversion/diff.bat 54 + diff-cmd = /home/oli/.subversion/diff56 55 ### Diff-extensions are arguments passed to an external diff### Diff-extensions are arguments passed to an external diff57 56 ### program or to Subversion's internal diff implementation.### program or to Subversion's internal diff implementation.58 57 ### Set diff-extensions to override the default arguments ('-u').### Set diff-extensions to override the default arguments ('-u').60 59 ### Set diff3-cmd to the absolute path of your 'diff3' program.### Set diff3-cmd to the absolute path of your 'diff3' program.61 60 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use62 61 ### Subversion's internal diff3 implementation.### Subversion's internal diff3 implementation.63 - # diff3-cmd = /home/oli/.subversion/diff3.bat 62 + diff3-cmd = /home/oli/.subversion/diff364 63 ### Set diff3-has-program-arg to 'yes' if your 'diff3' program### Set diff3-has-program-arg to 'yes' if your 'diff3' program65 64 ### accepts the '--diff-program' option.### accepts the '--diff-program' option.66 65 # diff3-has-program-arg = no# diff3-has-program-arg = no67 66 ### Set merge-tool-cmd to the command used to invoke your external### Set merge-tool-cmd to the command used to invoke your external68 67 ### merging tool of choice. Subversion will pass 5 arguments to### merging tool of choice. Subversion will pass 5 arguments to69 68 ### the specified command: base theirs mine merged wcfile### the specified command: base theirs mine merged wcfile70 - merge-tool-cmd = /home/oli/.subversion/merge.bat 69 + merge-tool-cmd = /home/oli/.subversion/merge72 71 ### Section for configuring tunnel agents.### Section for configuring tunnel agents.subversion/config.win32 Modified +1 / −2 text lines
47 47 ### This will override the environment variables that Subversion### This will override the environment variables that Subversion48 48 ### examines by default to find this information ($EDITOR, ### examines by default to find this information ($EDITOR, 49 49 ### et al).### et al).51 51 ### Set diff-cmd to the absolute path of your 'diff' program.### Set diff-cmd to the absolute path of your 'diff' program.52 52 ### This will override the compile-time default, which is to use### This will override the compile-time default, which is to use53 53 ### Subversion's internal diff implementation.### Subversion's internal diff implementation.54 - # TODO windows versions as bat files
55 54 diff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.batdiff-cmd = C:/Users/okr/AppData/Roaming/Subversion/diff.bat56 55 ### Diff-extensions are arguments passed to an external diff### Diff-extensions are arguments passed to an external diff57 56 ### program or to Subversion's internal diff implementation.### program or to Subversion's internal diff implementation.