dotfiles
bugabingas dorkfiles
owned by bugabinga
nushell: fixed openening manifest if it is a string
758545aeddf520de21dcd04a29a5a378418c4be4
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (10)
7 7 CTRL+
6 no-osd change-list glsl-shaders set
"~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_M.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Restore_CNN_S.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"; show-
text "Anime4K: Mode C+A (Fast)" 9 9 CTRL+
0 no-osd change-list glsl-shaders clr
""; show-
text "GLSL shaders cleared" 11 +r cycle_values video-rotate
90 180 270 0
neovim/after/ftplugin/c.lua
Modified1 -vim.opt.makeprg
= 'use build.nu; build debug' 1 +vim.opt.makeprg
= 'nu build.nu debug' 82 82 require 'bugabinga.winbar' 83 83 require 'bugabinga.supress_warnings' 84 84 require 'bugabinga.autopairs' 85 -require 'bugabinga.debugging' 87 86 require 'bugabinga.incubator' neovim/lua/bugabinga/debugging.lua
Deleteddeleted file mode 100644 1 -local puk
= require 'std.puk' 2 -local dbg
= require 'std.dbg' 3 -local map
= require 'std.map' 5 -local function configure_lldb(dap)
7 - local lldb_dap_exe
= vim.fn.exepath
'lldb-dap' 8 - if lldb_dap_exe
~= '' then 9 - dap.adapters.lldb
= {
10 - type =
'executable',
11 - command = lldb_dap_exe,
14 - dap.configurations.c
= {
19 - program =
function()
20 - return coroutine.
create(
function(dap_run_co)
27 - local path
= require(
"dap.utils").pick_file({
filter =
"output/*" })
28 - local choice
= (path
and path
~= "")
and path
or dap.ABORT
29 - coroutine.
resume(dap_run_co, choice)
32 - cwd =
'${workspaceFolder}',
33 - stopOnEntry =
false,
35 - 'settings set target.x86-disassembly-flavor intel',
36 - 'settings set symbols.auto-download background',
37 - 'settings set symbols.enable-background-lookup true',
38 - 'settings set symbols.enable-lldb-index-cache true' 41 - local variables
= {}
42 - for k, v
in pairs(vim.fn.environ())
do 43 - table.
insert(variables,
string.
format(
"%s=%s", k, v))
61 - runInTerminal =
true,
64 - dap.configurations.cpp
= dap.configurations.c
65 - dap.configurations.rust
= dap.configurations.c
69 -puk.defer
'dap' (
function(dap)
70 - dap.set_log_level(dbg.get()
and 'TRACE' or 'ERROR')
72 - local dapui
= puk
'dapui' 73 - local dap_disasm
= puk
'dap-disasm' 74 - local dap_virtual_text
= puk
'nvim-dap-virtual-text' 78 - dap_virtual_text.setup()
79 - dap.listeners.before.attach.
dapui_config = function() dapui.open()
end 80 - dap.listeners.before.launch.
dapui_config = function() dapui.open()
end 81 - dap.listeners.before.event_terminated.
dapui_config = function() dapui.close()
end 82 - dap.listeners.before.event_exited.
dapui_config = function() dapui.close()
end 84 - description =
'toggle breakpoint',
86 - keys =
'<leader>db',
87 - command = dap.toggle_breakpoint,
90 - description =
'run to cursor',
92 - keys =
'<leader>dr',
93 - command = dap.run_to_cursor,
96 - description =
'run last',
98 - keys =
'<leader>dl',
99 - command = dap.run_last,
102 - description =
'continue/start debugger',
103 - category =
'debug',
104 - keys =
'<leader>dd',
105 - command = dap.continue,
108 - description =
'step into',
109 - category =
'debug',
111 - command = dap.step_into,
114 - description =
'step over',
115 - category =
'debug',
117 - command = dap.step_over,
120 - description =
'step out',
121 - category =
'debug',
123 - command = dap.step_out,
126 - description =
'restart frame',
127 - category =
'debug',
129 - command = dap.restart_frame,
131 - map.normal.visual {
132 - description =
'eval under cursor',
133 - category =
'debug',
134 - keys =
'<leader>de',
135 - command = dapui.eval,
138 - description =
'show element',
139 - category =
'debug',
140 - keys =
'<leader>de',
141 - command =
function() dapui.float_element(
nil, {
position =
'center' })
end,
neovim/lua/bugabinga/format.lua
Modified45 45 [
'_']
= {
'trim_whitespace',
'trim_newlines' },
49 - prepend_args = {
'--features',
'keep-linebreaks,collate-link-defs,outsource-inline-links',
'--stdin-filepath',
'$FILENAME' },
52 53 log_level
= dbg.get()
and vim.log.levels.TRACE
or vim.log.levels.ERROR,
neovim/lua/bugabinga/lsp.lua
Modified 49 48 vim.lsp.enable(primary)
56 56 user_command.LspStart
'Starts the given lsp server for the current buffer' (
59 + vim.lsp.enable(optional)
neovim/spell/nerd.utf-8.add
Modifiedneovim/spell/nerd.utf-8.add.spl
ModifiedPrevious version contains binary or non-UTF-8 data.
Current version contains binary or non-UTF-8 data.
nushell/modules/package/installer.nu
Modified 28 28 if (
$candidates | has-one) {
29 29 let candidate = (
$candidates | first)
30 - $package =
$candidate 30 + $package = open
$candidate 32 32 print $
"Found multiple matches for ($query). Pick one!" 33 33 $package = (
$candidates | input list --fuzzy
"Which package to install? ")
36 - let manifest = open
$package 36 + let manifest =
$package 37 37 install-manifest
$manifest topgrade/lnx.toml
Modified3 - "/home/oli/Source/*",
2 +repos = [
"/home/oli/Source/*"]
5 3 arguments =
"--ff --rebase" 7 5 pull_predefined =
false 10 +remote_topgrades = [
"klops"]
13 +ssh_arguments =
"-o ConnectTimeout=2"