repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim: profiler and win32 cleanup

40426eafce0116706d3ec52481ae922d93a85b58

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

unsigned

Browse filesCompare with HEAD

Changed files (17)

neovim/ftplugin/java.lua

Modified
12 12 local syntax_server = false
13 13 local project = require 'bugabinga.std.project'
15 - local home = vim.fn.glob('~', false, false)
16 - local jdtls_root_dir = project.determine_java_project_root(home)
15 + local jdtls_root_dir = project.determine_java_project_root('~')
17 16 if jdtls_root_dir then
18 17 vim.notify('eclipse.jdt.ls java project root is ' .. jdtls_root_dir)
19 18 -- even when a project root as found, it does not necessarily mean it is a

neovim/init.lua

Modified
8 8 -- ▀▀▀ █ █ ██ █
9 9 -- ▀ ▀
11 +-- set a global variable other parts of the config can query in order to enable
12 +-- profiling features, if available.
13 +-- `profile_mode` will be our little indicator that other plugins should enable
14 +-- their profiling capabilities.
15 +vim.g.profile_mode = false
17 +-- Profiling methods to nothing, if not in profiling mode.
18 +local profiler = require 'bugabinga.profile'
19 +profiler.start()
11 21 -- set general neovim editor settings
12 22 require 'bugabinga.options'
13 23 -- install plugin manager and declare plugins to use
59 69 local keymap_build = require('bugabinga.std.keymap').build
60 70 keymap_build()
72 +profiler.stop()
62 73 -- TODO:
63 74 -- [ ] icon facade: icon.get("name")
64 75 -- [ ] DAP
67 78 -- [ ] make keymap facade immediate and support buffer local binds
68 79 -- [ ] change style for read only files
69 80 -- [ ] add fstabfmt to null-ls
81 +-- [ ] add nu-check to null-ls
82 +-- [ ] add languiageserver to null-ls
70 83 -- [ ] undofile not work?
71 84 -- [ ] why does redo not work?
72 85 -- [ ] start a toggleterm with: watch <buffer> { clear; mdcat <buffer> }
73 86 -- [ ] load plugins/init.lua and sync on write. reload init.lua?
74 87 -- [ ] disable gomove in special buffers
75 88 -- [ ] replace filetype.lua plugin with builtin: https://neovim.io/news/2022/04
89 +-- [ ] use languagetool
90 +-- [ ] evaluate using nvim-lint, formatter.nvim, hober.nvim and instead of nullls
76 91 -- [x] JDTLS
77 92 -- [~] bindings for luadev
78 93 -- [~] close toogleterms on quit
113 128 -- https://github.com/VonHeikemen/project-settings.nvim
114 129 -- https://github.com/Saecki/crates.nvim
115 130 -- https://github.com/VonHeikemen/little-wonder
131 +-- https://github.com/mfussenegger/nvim-lint
132 +-- https://github.com/mhartington/formatter.nvim
133 +-- https://github.com/lewis6991/hover.nvim

neovim/lua/bugabinga/fuzzy-search-ui.lua

Modified
52 52 'neoclip',
53 53 -- telescope for vim.ui.select
54 54 'ui-select',
55 - -- sort by frecency
56 - 'frecency',
57 55 -- cheat sheet
58 56 'cheat',
59 57 -- file browser
60 58 'file_browser',
61 59 -- manage projects
62 60 'project',
63 - -- project specific history
64 - 'smart_history',
67 63 for _, extension in pairs(extensions) do

neovim/lua/bugabinga/health.lua

Modified
21 21 _.check = function()
22 22 check_program('ripgrep', 'rg')
23 23 check_program('find-fd', 'fd')
24 - check_program('SQLite3', 'sqlite3')
25 24 check_program('Nushell', 'nu')
26 25 check_program('vim-startuptime', 'vim-startuptime')
27 26 check_program('Pandoc', 'pandoc')

neovim/lua/bugabinga/lsp.lua

Modified
46 - -- Format on Save when any LSP supports it.
47 - local auto = require 'bugabinga.std.auto'
48 - local null_opts = zero.build_options('null-ls', {
49 - on_attach = function(client)
50 - if client.server_capabilities.documentFormattingProvider then
51 - auto 'format_buffer_on_write' {
52 - description = 'Format the current buffer before writing.',
53 - events = 'BufWritePre',
54 - pattern = '<buffer>',
55 - callback = function(context)
56 - vim.lsp.buf.format()
57 - vim.notify('Formatted ' .. context.file)
58 - end,
59 - }
60 - end
61 - end,
62 - })
64 46 local formatting = null_ls.builtins.formatting
65 47 local diagnostics = null_ls.builtins.diagnostics
66 48 local code_actions = null_ls.builtins.code_actions
67 - local hover = null_ls.builtins.hover
49 + -- local hover = null_ls.builtins.hover
68 50 local completion = null_ls.builtins.completion
70 52 -- run diagnostics on save
71 53 local diagnostics_on_save = { method = null_ls.methods.DIAGNOSTICS_ON_SAVE }
55 + local null_opts = zero.build_options 'null-ls'
72 56 null_ls.setup {
73 57 on_attach = null_opts.on_attach,
74 58 sources = {
75 - formatting.black.with { extra_args = { '--fast' } },
76 59 formatting.stylua,
77 60 formatting.clang_format,
78 - formatting.codespell,
79 61 formatting.jq,
80 62 formatting.protolint,
81 63 formatting.shellharden,
82 64 formatting.shfmt,
83 65 formatting.taplo,
85 - hover.dictionary,
66 + formatting.google_java_format,
67 + formatting.tidy,
87 69 diagnostics.actionlint.with(diagnostics_on_save),
88 70 diagnostics.checkmake.with(diagnostics_on_save),
89 - diagnostics.codespell.with(diagnostics_on_save),
90 71 diagnostics.editorconfig_checker.with(diagnostics_on_save).with { command = 'editorconfig-checker' },
91 - diagnostics.gitlint.with(diagnostics_on_save),
92 72 diagnostics.protoc_gen_lint.with(diagnostics_on_save),
93 73 diagnostics.protolint.with(diagnostics_on_save),
94 74 diagnostics.selene.with(diagnostics_on_save),
95 75 diagnostics.shellcheck.with(diagnostics_on_save),
96 76 diagnostics.tidy.with(diagnostics_on_save),
77 + diagnostics.trail_space.with(diagnostics_on_save),
98 79 code_actions.refactoring,
99 80 code_actions.shellcheck,
81 + code_actions.gitsigns,
101 - completion.luasnip,
83 + completion.spell,
84 + completion.tags,

neovim/lua/bugabinga/module-cache.lua

Modified
1 -local impatient = require 'impatient'
2 --- FIXME: enable profile only when neovim was startet with --startuptime?
3 -impatient.enable_profile()
1 +local want = require'bugabinga.std.want'
2 +want { 'impatient' } (function (impatient)
3 + if vim.g.profile_mode then
4 + impatient.enable_profile()
5 + end
6 + end)

neovim/lua/bugabinga/plugins/init.lua

Modified
16 16 'nvim-telescope/telescope-ui-select.nvim',
17 17 -- use telescope as `vim.ui.input`
18 18 'stevearc/dressing.nvim',
19 - -- use frecency algorithm when sorting files. Needs sqlite3 installed
20 - 'nvim-telescope/telescope-frecency.nvim',
21 19 -- display cheat sheet with telesope
22 20 'nvim-telescope/telescope-cheat.nvim',
23 - -- keep project specific histories in telescope
24 - 'nvim-telescope/telescope-smart-history.nvim',
25 21 -- show file browser in telescope
26 22 'nvim-telescope/telescope-file-browser.nvim',
27 23 -- manage projects via telescope
28 24 'nvim-telescope/telescope-project.nvim',
29 25 -- pick a symbol (emoji, icon, kaomoji,...) via telescope
30 26 'nvim-telescope/telescope-symbols.nvim',
31 - -- sqplite lua bindings some plugins use
32 - 'tami5/sqlite.lua',
33 - -- status and tablines
34 - 'beauwilliams/statusline.lua',
35 27 -- visual indicator if code actions are available
36 28 'kosayoda/nvim-lightbulb',
37 29 -- some bug fix for LSP
70 62 'declancm/cinnamon.nvim',
71 63 -- fast navigation in buffer via shortcut labels
72 64 'ggandor/leap.nvim',
73 - -- dim inactive windows
74 - -- 'sunjon/shade.nvim',
75 - 'dapc11/Shade.nvim',
76 65 -- breadcrumbs in window bar
77 66 'SmiteshP/nvim-navic',
78 67 -- show color values inline

neovim/lua/bugabinga/plugins/install.lua

Modified
1 -local path = vim.fn.stdpath 'data' .. '/site/pack/paqs/start/paq-nvim'
1 +local path = vim.fn.stdpath('data') .. '/site/pack/paqs/start/paq-nvim'
2 2 if vim.fn.filewritable(path) == 0 then
3 3 vim.fn.system {
4 4 'git',

neovim/lua/bugabinga/profile.lua

Added
new file mode 100644
1 +local plenary_profile_ok, plenary_profile = pcall(require, 'plenary.profile')
2 +local profile_file = 'profile.log'
4 +-- return a profiler facade, that delegates to plenary.profile if it exists.
5 +-- also, if vim.g.profile_mode is false, these methods to nothing.
6 +return {
7 + start = function()
8 + if plenary_profile_ok and vim.g.profile_mode then
9 + plenary_profile.start(profile_file, {flame = true})
10 + elseif not plenary_profile_ok then
11 + vim.notify'profiler could not be loaded'
12 + end
13 + end,
14 + stop = function()
15 + if plenary_profile_ok and vim.g.profile_mode then
16 + plenary_profile.stop()
17 + convert_to_svg(profile_file)
18 + if vim.fn.executable"inferno-flamegraph" then
19 + vim.fn.system("inferno-flamegraph " .. profile_file .. " | save profile.svg")
20 + end
21 + end
22 + end,

neovim/lua/bugabinga/std/project.lua

Modified
63 63 -- glob expands user defined root and checks, that it exists
64 64 local root = vim.fn.glob(custom_root, false, false)
65 65 if root == '' then
66 - vim.notify('the custom root ' .. custom_root .. ' does not exist!', error)
66 + vim.notify('the custom root ' .. custom_root .. ' does not exist!', 'error')
67 67 return nil
69 69 -- define some language-independent markers
83 83 markers = vim.tbl_deep_extend('force', markers, custom_markers)
85 - local buffer_name = vim.api.nvim_buf_get_name(vim.api.nvim_get_current_buf())
85 + local buffer_name = vim.api.nvim_buf_get_name(0)
86 86 local directory_name = vim.fn.fnamemodify(buffer_name, ':p:h')
87 87 return determine_root(directory_name, markers, root)

neovim/lua/bugabinga/treesitter.lua

Modified
18 18 'comment',
19 19 'cpp',
20 20 'css',
21 - 'devicetree',
22 21 'dockerfile',
23 22 'dot',
24 23 'help',
45 44 'zig',
47 46 -- Install parsers synchronously (only applied to `ensure_installed`)
48 - sync_install = false,
47 + sync_install = true,
49 48 -- List of parsers to ignore installing (for "all")
50 49 ignore_install = {},

neovim/lua/bugabinga/windows.lua

Modified
2 2 local want = require 'bugabinga.std.want'
3 3 want {
4 4 'focus',
5 5 'stabilize',
6 - 'shade',
7 -} (function(focus, stabilize, shade)
8 - local excluded_filetypes = { 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
6 +} (function(focus, stabilize)
8 + local excluded_filetypes = { 'lsp-installer', 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
10 9 focus.setup {
11 10 excluded_filetypes = excluded_filetypes,
12 11 excluded_buftypes = { 'nofile', 'prompt', 'popup', 'help', 'terminal' },
17 16 stabilize.setup()
19 - -- when shade is enabled with neovide (MULTIGRID), everything is blurry
20 - if not vim.g.neovide then
21 - shade.setup {
22 - overlay_opacity = 42,
23 - exclude_filetypes = excluded_filetypes,
24 - }
25 - end
26 17 end)

neovim/startuptime/PC-00625_2022_07_12_16_12_52.txt

Added
new file mode 100644
1 +Extra options: [init.lua]
2 +Measured: 100 times
4 +Total Average: 562.496460 msec
5 +Total Max: 1585.781000 msec
6 +Total Min: 519.953000 msec
8 + AVERAGE MAX MIN
9 +----------------------------------
10 +355.504310 393.805000 349.452000: C:\Users\okr\AppData\Local\nvim\init.lua
11 + 47.755390 54.639000 46.358000: loading packages
12 + 30.665520 1026.239000 0.025000: clearing screen
13 + 30.275560 34.237000 29.354000: loading after plugins
14 + 23.631680 26.871000 22.959000: loading rtp plugins
15 + 18.165780 20.652000 17.514000: sourcing vimrc file(s)
16 + 14.961400 18.276000 14.618000: locale set
17 + 3.883240 26.743000 3.024000: X:\nvim-win64\share\nvim\runtime\syntax\syntax.vim
18 + 3.756000 4.246000 3.509000: reading ShaDa
19 + 2.691210 4.113000 1.621000: opening buffers
20 + 2.552880 4.246000 1.415000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-treesitter-textobjects\plugin\nvim-treesitter-textobjects.vim
21 + 2.251260 4.354000 1.395000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\symbols-outline.nvim\plugin\symbols-outline.vim
22 + 2.119760 3.331000 2.027000: init lua interpreter
23 + 1.726640 2.923000 1.207000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-treesitter\plugin\nvim-treesitter.lua
24 + 1.632390 2.462000 1.513000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-gomove\plugin\gomove.lua
25 + 1.280670 2.975000 0.815000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-ts-autotag\plugin\nvim-ts-autotag.vim
26 + 1.177240 1.903000 0.707000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp-buffer\after\plugin\cmp_buffer.lua
27 + 1.020150 1.724000 0.574000: BufEnter autocommands
28 + 0.906810 2.112000 0.596000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-treesitter-refactor\plugin\nvim-treesitter-refactor.vim
29 + 0.833230 1.424000 0.659000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-cmp\plugin\cmp.lua
30 + 0.820050 2.227000 0.482000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\playground\plugin\nvim-treesitter-playground.lua
31 + 0.809010 1.121000 0.751000: X:\nvim-win64\share\nvim\runtime\plugin\rplugin.vim
32 + 0.764190 0.920000 0.738000: inits 1
33 + 0.752970 3.076000 0.653000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\indent-blankline.nvim\plugin\indent_blankline.vim
34 + 0.743320 1.212000 0.707000: init highlight
35 + 0.729510 1.498000 0.524000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\Comment.nvim\after\plugin\Comment.lua
36 + 0.703870 1.462000 0.363000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\telescope.nvim\plugin\telescope.lua
37 + 0.594040 0.744000 0.567000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\LuaSnip\plugin\luasnip.vim
38 + 0.536050 1.901000 0.330000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-treesitter-textsubjects\plugin\nvim-treesitter-textsubjects.vim
39 + 0.504390 1.412000 0.300000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp_luasnip\after\plugin\cmp_luasnip.lua
40 + 0.496140 1.048000 0.296000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp-path\after\plugin\cmp_path.lua
41 + 0.447240 1.228000 0.283000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp-nvim-lsp-document-symbol\after\plugin\cmp_nvim_lsp_document_symbol.lua
42 + 0.429120 2.156000 0.259000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-ts-context-commentstring\plugin\ts_context_commentstring.vim
43 + 0.349820 0.496000 0.334000: X:\nvim-win64\share\nvim\runtime\plugin\matchparen.vim
44 + 0.329620 1.157000 0.272000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-lspconfig\plugin\lspconfig.vim
45 + 0.324080 0.486000 0.258000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\leap.nvim\plugin\init.lua
46 + 0.314960 0.517000 0.297000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\registers.nvim\plugin\registers.vim
47 + 0.268890 0.316000 0.253000: parsing arguments
48 + 0.262490 0.385000 0.249000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-lsp-installer\plugin\nvim-lsp-installer.vim
49 + 0.256090 0.481000 0.219000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-dap\plugin\dap.lua
50 + 0.234540 0.667000 0.161000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp-nvim-lua\after\plugin\cmp_nvim_lua.lua
51 + 0.225040 0.344000 0.201000: X:\nvim-win64\share\nvim\runtime\syntax\synload.vim
52 + 0.221280 0.321000 0.203000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\trouble.nvim\plugin\trouble.vim
53 + 0.219480 0.334000 0.175000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\cmp-nvim-lsp\after\plugin\cmp_nvim_lsp.lua
54 + 0.202700 0.318000 0.181000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-hlslens\plugin\hlslens.vim
55 + 0.200650 0.336000 0.183000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\plenary.nvim\plugin\plenary.vim
56 + 0.193350 0.263000 0.175000: X:\nvim-win64\share\nvim\runtime\ftplugin.vim
57 + 0.191050 0.282000 0.158000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\dressing.nvim\plugin\dressing.lua
58 + 0.190790 0.304000 0.154000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\hydra.nvim\plugin\hydra.lua
59 + 0.188280 0.272000 0.166000: X:\nvim-win64\share\nvim\runtime\plugin\shada.vim
60 + 0.181660 0.247000 0.167000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-colorizer.lua\plugin\colorizer.vim
61 + 0.171450 0.265000 0.156000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\todo-comments.nvim\plugin\todo.vim
62 + 0.162920 0.242000 0.132000: X:\nvim-win64\share\nvim\runtime\filetype.lua
63 + 0.162760 0.209000 0.151000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\FixCursorHold.nvim\plugin\fix_cursorhold_nvim.vim
64 + 0.159750 0.227000 0.149000: X:\nvim-win64\share\nvim\runtime\plugin\man.vim
65 + 0.153340 0.224000 0.139000: early init
66 + 0.149940 0.181000 0.134000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\editorconfig.nvim\plugin\editorconfig.vim
67 + 0.138090 0.216000 0.128000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\neo-tree.nvim\plugin\neo-tree.vim
68 + 0.134970 0.183000 0.124000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-jdtls\plugin\nvim_jdtls.vim
69 + 0.134470 0.206000 0.124000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\nvim-web-devicons\plugin\nvim-web-devicons.vim
70 + 0.125430 0.174000 0.112000: expanding arguments
71 + 0.121850 0.171000 0.112000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\lsp-zero.nvim\plugin\lsp-zero.vim
72 + 0.115350 0.174000 0.103000: X:\nvim-win64\share\nvim\runtime\indent.vim
73 + 0.114840 0.145000 0.097000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\filetype.nvim\filetype.vim
74 + 0.110730 0.175000 0.100000: C:\Users\okr\AppData\Local\nvim-data\site\pack\paqs\start\rust-tools.nvim\plugin\rust-tools.vim
75 + 0.110520 0.152000 0.098000: event init
76 + 0.099530 0.133000 0.090000: X:\nvim-win64\share\nvim\runtime\plugin\tutor.vim
77 + 0.096090 0.124000 0.083000: X:\nvim-win64\share\nvim\runtime\plugin\gzip.vim
78 + 0.088080 0.114000 0.080000: X:\nvim-win64\share\nvim\runtime\plugin\matchit.vim
79 + 0.085650 0.121000 0.075000: X:\nvim-win64\share\nvim\runtime\plugin\netrwPlugin.vim
80 + 0.081660 0.097000 0.075000: X:\nvim-win64\share\nvim\runtime\plugin\health.vim
81 + 0.080480 0.107000 0.073000: X:\nvim-win64\share\nvim\runtime\plugin\zipPlugin.vim
82 + 0.075930 0.118000 0.063000: inits 2
83 + 0.075870 0.098000 0.069000: X:\nvim-win64\share\nvim\runtime\plugin\tarPlugin.vim
84 + 0.075490 0.089000 0.070000: init first window
85 + 0.073230 0.111000 0.066000: X:\nvim-win64\share\nvim\runtime\plugin\tohtml.vim
86 + 0.073170 0.090000 0.063000: X:\nvim-win64\share\nvim\runtime\filetype.vim
87 + 0.069790 0.091000 0.064000: X:\nvim-win64\share\nvim\runtime\plugin\spellfile.vim
88 + 0.053930 0.084000 0.052000: inits 3
89 + 0.046200 0.075000 0.042000: init default mappings
90 + 0.040760 0.057000 0.033000: window checked
91 + 0.029110 0.044000 0.024000: init default autocommands
92 + 0.024520 0.038000 0.019000: --- NVIM STARTING ---
93 + 0.009840 0.015000 0.007000: editing files in windows

nushell/completions/svn-completions.nu

Modified
12 12 # TODO: parse xml output
14 14 def "complete svn add paths" [] {
15 - ^svn status --depth files
15 + ^svn status --depth infinity
16 16 | lines
17 17 | parse "{mode} {file}"
18 18 | str trim
23 23 def "complete svn revert paths" [] {
24 - ^svn status --depth files
24 + ^svn status --depth infinity
25 25 | lines
26 26 | parse "{mode} {file}"
27 27 | where mode == M
32 32 def "complete svn depth" [] { ['empty', 'files', 'immediates', 'infinity'] }
34 34 def "complete svn changelists" [] {
35 - ^svn status --depth files
35 + ^svn status --depth infinity
36 36 | lines
37 37 | parse "--- Changelist '{changelist}':"
38 38 | get --ignore-errors changelist
41 +# FIXME: This is commented out in order to leave unexterne'd commands be.
42 +#
41 43 # Subversion is a tool for version control.
42 44 # For additional information, see http://subversion.apache.org/
43 -export extern svn [
44 - subcommand?: string@"complete svn subcommands" # for help on a specific subcommand.
45 - --version # to see the program version and RA modules
46 - --quiet # to see just the version number
47 - --verbose # to see dependency versions as well
45 +#export extern svn [
46 + #subcommand?: string@"complete svn subcommands" # for help on a specific subcommand.
47 + #--version # to see the program version and RA modules
48 + #--quiet # to see just the version number
49 + #--verbose # to see dependency versions as well
50 +#]
50 52 # help (?, h): Describe the usage of this program or its subcommands.
51 53 # usage: help [SUBCOMMAND...]

nushell/config.nu

Modified
76 76 footer_mode: "auto" # always, never, number_of_rows, auto
77 77 quick_completions: true # set this to false to prevent auto-selecting completions when only one remains
78 78 partial_completions: true # set this to false to prevent partial filling of the prompt
79 - animate_prompt: false # redraw the prompt every second
80 79 float_precision: 2
81 80 use_ansi_coloring: true
82 81 filesize_format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto

subversion/config

Modified
39 39 ### This will override the environment variables that Subversion
40 40 ### examines by default to find this information ($EDITOR,
41 41 ### et al).
42 -# editor-cmd = hx
42 +editor-cmd = hx
43 43 ### Set diff-cmd to the absolute path of your 'diff' program.
44 44 ### This will override the compile-time default, which is to use
45 45 ### Subversion's internal diff implementation.

tools/cargo-tools.nu

Modified
7 7 let cargo_crates = [
8 8 [ name bin features];
9 9 [ "sccache" "sccache" [] ]
10 + [ "inferno" "inferno" [] ]
10 11 [ "nu" "nu" [ "--features" "extra" ] ]
11 12 [ "sd" "sd" [] ]
12 13 [ "cbs" "cbs" [] ]