repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

ec15366607bca8b93834674675aaac519ccf82d2

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (16)

neovim/ftplugin/java.lua

Modified
8 8 local syntax_server = false
9 9 local project = require 'bugabinga.std.project'
11 - local home = vim.fn.glob('~', false, false)
12 - local jdtls_root_dir = project.determine_java_project_root(home)
11 + local jdtls_root_dir = project.determine_java_project_root('~')
13 12 if jdtls_root_dir then
14 13 vim.notify('eclipse.jdt.ls java project root is ' .. jdtls_root_dir)
15 14 -- 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 -- the order of the first module to load is non-obvious.
12 22 -- we want to load the plugins first, because the config depends on those.
13 23 -- but we also want to load the module-cache plugin first, in order to benefit from caching most modules.
65 75 -- diagnostic
66 76 require 'bugabinga.diagnostic'
68 --- TODO: fix gitsigns highights
69 --- TODO: preview multimedia with telescope
70 --- TODO: nugu theme
71 --- TODO: hydra cycle buffers
72 --- TODO: cross platform status bar
73 --- TODO: show winbar
74 --- TODO: show read only files in winbar
75 --- TODO: load plugins/init.lua and sync on write. reload init.lua?
76 --- TODO: use nvim-specific lsp only in neovim config
77 --- TODO: steal filetype settings from shark, astrovim, lunarvim etc
78 --- TODO: is it possible to cache LSP init per project?
79 --- TODO: DAP
80 --- TODO: fix cursor flicker when openinig neotree and other windows stuff in lsp buffers
78 +profiler.stop()
80 +-- TODO:
81 +-- [ ] icon facade: icon.get("name")
82 +-- [ ] DAP
83 +-- [ ] put all keybinds into facade
84 +-- [ ] hydra cycle buffers
85 +-- [ ] make keymap facade immediate and support buffer local binds
86 +-- [ ] change style for read only files
87 +-- [ ] add fstabfmt to null-ls
88 +-- [ ] add nu-check to null-ls
89 +-- [ ] add languiageserver to null-ls
90 +-- [ ] undofile not work?
91 +-- [ ] why does redo not work?
92 +-- [ ] start a toggleterm with: watch <buffer> { clear; mdcat <buffer> }
93 +-- [ ] load plugins/init.lua and sync on write. reload init.lua?
94 +-- [ ] disable gomove in special buffers
95 +-- [ ] replace filetype.lua plugin with builtin: https://neovim.io/news/2022/04
96 +-- [ ] use languagetool
97 +-- [ ] evaluate using nvim-lint, formatter.nvim, hober.nvim and instead of nullls
98 +-- [x] JDTLS
99 +-- [~] bindings for luadev
100 +-- [~] close toogleterms on quit
101 +-- [-] LSP diagnostics on save
102 +-- [x] make focus handle hybrid linenumbers and less jitter
103 +-- [x] disable shade for some buffers
104 +-- [~] turn off colorcolumns in certain buffers, only show in active buffer, use focus?
105 +-- [~] check for system dependecneis, extend checkhealth?
106 +-- [~] illuminate+LSP + treesitter.refactor.highlight.definitions
107 +-- [x] LSP
108 +-- [~] gf to lua modules
109 +-- [x] AUTOCMD
110 +-- [x] COMPLETION
111 +-- [x] JAVA, RUST, ZIG
112 +-- [~] MARKDOWN
113 +-- [~] nushell
114 +-- [x] XML, TOML, JSON, YAML
115 +-- [x] TREESITTER
116 +-- [~] ~~SVN~~
117 +-- [~] ~~VIM-ENEUCH for nvim~~
118 +-- [x] KEYBINDINGS
119 +-- [x] PAQ
120 +-- [x] impatient
121 +-- [x] icons + colorscheme
122 +-- [x] TELESCOPE
123 +-- [x] TERMINAL
124 +-- [x] GIT
125 +-- [x] TREE
126 +-- [x] restore last cursor position
127 +-- [x] bind nohl
128 +-- [x] configure Comment
83 131 -- PLUGINS TO TRY
87 135 -- https://github.com/hrsh7th/nvim-pasta
88 136 -- https://github.com/Saecki/crates.nvim
89 137 -- https://github.com/VonHeikemen/little-wonder
138 +-- https://github.com/mfussenegger/nvim-lint
139 +-- https://github.com/mhartington/formatter.nvim
140 +-- https://github.com/lewis6991/hover.nvim
90 141 -- https://github.com/VonHeikemen/project-settings.nvim
91 142 -- https://github.com/jinh0/eyeliner.nvim
92 143 -- https://github.com/iamcco/markdown-preview.nvim

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

Modified
38 - local extensions = {
39 - -- Plug Command Center into Telescope
40 - 'command_center',
41 - -- show history of notifications
42 - 'notify',
43 - -- save yank history
44 - 'neoclip',
45 - -- telescope for vim.ui.select
46 - 'ui-select',
47 - -- cheat sheet
48 - 'cheat',
49 - -- file browser
50 - 'file_browser',
51 - -- manage projects
52 - 'project',
53 - }
38 + local extensions = {
39 + -- Plug Command Center into Telescope
40 + 'command_center',
41 + -- show history of notifications
42 + 'notify',
43 + -- save yank history
44 + 'neoclip',
45 + -- telescope for vim.ui.select
46 + 'ui-select',
47 + -- cheat sheet
48 + 'cheat',
49 + -- file browser
50 + 'file_browser',
51 + -- manage projects
52 + 'project',
53 + }
55 55 for _, extension in pairs(extensions) do
56 56 if not pcall(telescope.load_extension, extension) then

neovim/lua/bugabinga/health.lua

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

neovim/lua/bugabinga/module-cache.lua

Modified
7 7 return
9 9 -- FIXME: enable profile only when global vim.g.profile_mode is true
10 -impatient.enable_profile()
10 + if vim.g.profile_mode then
11 + impatient.enable_profile()
12 + end

neovim/lua/bugabinga/plugins/init.lua

Modified
1 1 local paq = require 'bugabinga.plugins.install'
2 2 paq {
3 - -- allow paq to manage itself
4 - 'savq/paq-nvim',
5 - -- caches other plugins for faster startup
6 - 'lewis6991/impatient.nvim',
7 - -- Utilities used by some plugins, e.g. telescope
8 - 'nvim-lua/plenary.nvim',
9 - -- collection of icons used by other plugins. needs a nerd font
10 - 'kyazdani42/nvim-web-devicons',
11 - -- fuzzy search ui over many parts of neovim and other plugins
12 - 'nvim-telescope/telescope.nvim',
13 - -- use telescope as `vim.ui.select`
14 - 'nvim-telescope/telescope-ui-select.nvim',
15 - -- use telescope as `vim.ui.input`
16 - 'stevearc/dressing.nvim',
17 - -- display cheat sheet with telesope
18 - 'nvim-telescope/telescope-cheat.nvim',
19 - -- show file browser in telescope
20 - 'nvim-telescope/telescope-file-browser.nvim',
21 - -- manage projects via telescope
22 - 'nvim-telescope/telescope-project.nvim',
23 - -- pick a symbol (emoji, icon, kaomoji,...) via telescope
24 - 'nvim-telescope/telescope-symbols.nvim',
25 - -- visual indicator if code actions are available
26 - 'kosayoda/nvim-lightbulb',
27 - -- some bug fix for LSP
28 - 'antoinemadec/FixCursorHold.nvim',
29 - -- allows statusbar plugins to query LSP
30 - 'nvim-lua/lsp-status.nvim',
31 - -- keybindings api that integrates into telescope to make keymaps searchable
32 - 'gfeiyou/command-center.nvim',
33 - -- search and replace
34 - 'nvim-pack/nvim-spectre',
35 - -- automatically manage window sizes based on focus
36 - 'beauwilliams/focus.nvim',
37 - -- avoid jitter in buffers when windows change
38 - 'luukvbaal/stabilize.nvim',
39 - -- keybindings that require a persistent chain
40 - 'anuvyklack/hydra.nvim',
41 - -- extends hydra with pink heads
42 - 'anuvyklack/keymap-layer.nvim',
43 - -- configure some editor settings according to editorconfig file, if present
44 - 'gpanders/editorconfig.nvim',
45 - -- highlight matched wors more clearly
46 - 'kevinhwang91/nvim-hlslens',
47 - -- draw lines to indicate indentation levels
48 - 'lukas-reineke/indent-blankline.nvim',
49 - -- move blocks of code around
50 - 'booperlv/nvim-gomove',
51 - -- toolkit for creating themes
52 - 'rktjmp/lush.nvim',
53 - -- theme with colors i like
54 - 'rockerBOO/boo-colorscheme-nvim',
55 - -- display the colorcolumn as a virtual character
56 - 'lukas-reineke/virt-column.nvim',
57 - -- jump cursor to last known position on neovim start
58 - 'ethanholz/nvim-lastplace',
59 - -- smooth scrolling for movement
60 - 'declancm/cinnamon.nvim',
61 - -- fast navigation in buffer via shortcut labels
62 - 'ggandor/leap.nvim',
63 - -- breadcrumbs in window bar
64 - 'SmiteshP/nvim-navic',
65 - -- show color values inline
66 - -- this plugins seems a little unmaintained right now.
67 - -- using some forks for now
68 - --'norcalli/nvim-colorizer.lua',
69 - --'NvChad/nvim-colorizer.lua',
70 - 'lasse16/nvim-colorizer.lua',
71 - -- intelligent commenting
72 - 'numToStr/Comment.nvim',
73 - -- show git status in ui
74 - 'lewis6991/gitsigns.nvim',
75 - -- sexy start page
76 - 'goolord/alpha-nvim',
77 - -- extend vim.notify with fancy ui
78 - 'rcarriga/nvim-notify',
79 - -- show registers ui
80 - 'tversteeg/registers.nvim',
81 - -- markdown editor
82 - -- 'jakewvincent/mkdnflow.nvim',
83 - -- highlight TODOs and collect them
84 - 'folke/todo-comments.nvim',
85 - -- centralized view for code issues
86 - 'folke/trouble.nvim',
87 - -- faster access to terminal
88 - 'akinsho/toggleterm.nvim',
89 - -- File Browser
90 - {
91 - 'nvim-neo-tree/neo-tree.nvim',
92 - branch = 'v2.x',
93 - },
94 - -- ui elements for other plugins
95 - 'MunifTanjim/nui.nvim',
96 - -- window picker component for other plugins
97 - {
98 - 's1n7ax/nvim-window-picker',
99 - branch = 'v1.3',
100 - },
101 - -- clipboard/yank history
102 - 'AckslD/nvim-neoclip.lua',
103 - -- the treesitter parser is not compatible with current nushell for now
104 - -- {
105 - -- 'LhKipp/nvim-nu',
106 - -- run = function() require'nvim-treesitter.install'.ensure_installed('nu') end,
107 - -- },
108 - -- smart parser for syntax
109 - {
110 - 'nvim-treesitter/nvim-treesitter',
111 - run = function()
112 - require('nvim-treesitter.install').update()
113 - end,
114 - },
115 - -- extend treesittier with light refactorings
116 - 'nvim-treesitter/nvim-treesitter-refactor',
117 - -- add movement around structural syntax elements
118 - 'nvim-treesitter/nvim-treesitter-textobjects',
119 - -- expand selection based on structure
120 - 'RRethy/nvim-treesitter-textsubjects',
121 - -- highlight function arguments
122 - 'm-demare/hlargs.nvim',
123 - -- inspect treesitter queries and get helpful functions
124 - 'nvim-treesitter/playground',
125 - -- set commentstring when in polyglot files
126 - 'JoosepAlviste/nvim-ts-context-commentstring',
127 - -- generate doc comment boilerplate
128 - 'danymat/neogen',
129 - -- automatically change corresponding tag, when editing markup (xml/html)
130 - 'windwp/nvim-ts-autotag',
131 - -- autoclose pairs on enter and completion
132 - 'windwp/nvim-autopairs',
133 - -- glue, that binds all the neovim lsp crap
134 - 'VonHeikemen/lsp-zero.nvim',
135 - -- LSP Support
136 - 'neovim/nvim-lspconfig',
137 - 'williamboman/nvim-lsp-installer',
138 - 'simrat39/symbols-outline.nvim',
139 - -- Autocompletion
140 - 'hrsh7th/nvim-cmp',
141 - 'hrsh7th/cmp-buffer',
142 - 'hrsh7th/cmp-path',
143 - 'hrsh7th/cmp-nvim-lsp-document-symbol',
144 - 'saadparwaiz1/cmp_luasnip',
145 - 'hrsh7th/cmp-nvim-lsp',
146 - 'hrsh7th/cmp-nvim-lua',
147 - -- Snippets
148 - 'L3MON4D3/LuaSnip',
149 - 'rafamadriz/friendly-snippets',
150 - -- rust development
151 - 'simrat39/rust-tools.nvim',
152 - -- java development
153 - 'mfussenegger/nvim-jdtls',
154 - -- lua neovim config development
155 - 'folke/lua-dev.nvim',
156 - -- fake lsp to pipe in non-lsp tools, like formatters, into lsp api
157 - 'jose-elias-alvarez/null-ls.nvim',
158 - -- Special Java LSP integration sauce
159 - 'mfussenegger/nvim-jdtls',
160 - -- debug adapter protocol
161 - 'mfussenegger/nvim-dap',
162 - -- color picker
163 - 'ziontee113/color-picker.nvim',
164 - -- motions around object
165 - 'kylechui/nvim-surround',
3 + -- allow paq to manage itself
4 + 'savq/paq-nvim',
5 + -- caches other plugins for faster startup
6 + 'lewis6991/impatient.nvim',
7 + -- faster implementation of filetypes.vim
8 + 'nathom/filetype.nvim',
9 + -- Utilities used by some plugins, e.g. telescope
10 + 'nvim-lua/plenary.nvim',
11 + -- collection of icons used by other plugins. needs a nerd font
12 + 'kyazdani42/nvim-web-devicons',
13 + -- fuzzy search ui over many parts of neovim and other plugins
14 + 'nvim-telescope/telescope.nvim',
15 + -- use telescope as `vim.ui.select`
16 + 'nvim-telescope/telescope-ui-select.nvim',
17 + -- use telescope as `vim.ui.input`
18 + 'stevearc/dressing.nvim',
19 + -- display cheat sheet with telesope
20 + 'nvim-telescope/telescope-cheat.nvim',
21 + -- show file browser in telescope
22 + 'nvim-telescope/telescope-file-browser.nvim',
23 + -- manage projects via telescope
24 + 'nvim-telescope/telescope-project.nvim',
25 + -- pick a symbol (emoji, icon, kaomoji,...) via telescope
26 + 'nvim-telescope/telescope-symbols.nvim',
27 + -- visual indicator if code actions are available
28 + 'kosayoda/nvim-lightbulb',
29 + -- some bug fix for LSP
30 + 'antoinemadec/FixCursorHold.nvim',
31 + -- allows statusbar plugins to query LSP
32 + 'nvim-lua/lsp-status.nvim',
33 + -- keybindings api that integrates into telescope to make keymaps searchable
34 + 'gfeiyou/command-center.nvim',
35 + -- search and replace
36 + 'nvim-pack/nvim-spectre',
37 + -- automatically manage window sizes based on focus
38 + 'beauwilliams/focus.nvim',
39 + -- avoid jitter in buffers when windows change
40 + 'luukvbaal/stabilize.nvim',
41 + -- keybindings that require a persistent chain
42 + 'anuvyklack/hydra.nvim',
43 + -- extends hydra with pink heads
44 + 'anuvyklack/keymap-layer.nvim',
45 + -- configure some editor settings according to editorconfig file, if present
46 + 'gpanders/editorconfig.nvim',
47 + -- highlight words under cursor
48 + -- "RRethy/vim-illuminate",
49 + -- highlight matched wors more clearly
50 + 'kevinhwang91/nvim-hlslens',
51 + -- draw lines to indicate indentation levels
52 + 'lukas-reineke/indent-blankline.nvim',
53 + -- move blocks of code around
54 + 'booperlv/nvim-gomove',
55 + -- theme with colors i like
56 + 'rockerBOO/boo-colorscheme-nvim',
57 + -- display the colorcolumn as a virtual character
58 + 'lukas-reineke/virt-column.nvim',
59 + -- jump cursor to last known position on neovim start
60 + 'ethanholz/nvim-lastplace',
61 + -- smooth scrolling for movement
62 + 'declancm/cinnamon.nvim',
63 + -- fast navigation in buffer via shortcut labels
64 + 'ggandor/leap.nvim',
65 + -- breadcrumbs in window bar
66 + 'SmiteshP/nvim-navic',
67 + -- show color values inline
68 + -- this plugins seems a little unmaintained right now.
69 + -- using some forks for now
70 + --'norcalli/nvim-colorizer.lua',
71 + --'NvChad/nvim-colorizer.lua',
72 + 'lasse16/nvim-colorizer.lua',
73 + -- intelligent commenting
74 + 'numToStr/Comment.nvim',
75 + -- show git status in ui
76 + 'lewis6991/gitsigns.nvim',
77 + -- sexy start page
78 + 'goolord/alpha-nvim',
79 + -- extend vim.notify with fancy ui
80 + 'rcarriga/nvim-notify',
81 + -- show registers ui
82 + 'tversteeg/registers.nvim',
83 + -- markdown editor
84 + -- 'jakewvincent/mkdnflow.nvim',
85 + -- highlight TODOs and collect them
86 + 'folke/todo-comments.nvim',
87 + -- centralized view for code issues
88 + 'folke/trouble.nvim',
89 + -- faster access to terminal
90 + 'akinsho/toggleterm.nvim',
91 + -- File Browser
92 + {
93 + 'nvim-neo-tree/neo-tree.nvim',
94 + branch = 'v2.x',
95 + },
96 + -- ui elements for other plugins
97 + 'MunifTanjim/nui.nvim',
98 + -- window picker component for other plugins
99 + {
100 + 's1n7ax/nvim-window-picker',
101 + branch = 'v1.3',
102 + },
103 + -- clipboard/yank history
104 + 'AckslD/nvim-neoclip.lua',
105 + -- the treesitter parser is not compatible with current nushell for now
106 + -- {
107 + -- 'LhKipp/nvim-nu',
108 + -- run = function() require'nvim-treesitter.install'.ensure_installed('nu') end,
109 + -- },
110 + -- smart parser for syntax
112 + 'nvim-treesitter/nvim-treesitter',
113 + run = function()
114 + require('nvim-treesitter.install').update()
115 + end,
116 + },
117 + -- extend treesittier with light refactorings
118 + 'nvim-treesitter/nvim-treesitter-refactor',
119 + -- add movement around structural syntax elements
120 + 'nvim-treesitter/nvim-treesitter-textobjects',
121 + -- expand selection based on structure
122 + 'RRethy/nvim-treesitter-textsubjects',
123 + -- highlight function arguments
124 + 'm-demare/hlargs.nvim',
125 + -- inspect treesitter queries and get helpful functions
126 + 'nvim-treesitter/playground',
127 + -- set commentstring when in polyglot files
128 + 'JoosepAlviste/nvim-ts-context-commentstring',
129 + -- generate doc comment boilerplate
130 + 'danymat/neogen',
131 + -- automatically change corresponding tag, when editing markup (xml/html)
132 + 'windwp/nvim-ts-autotag',
133 + -- autoclose pairs on enter and completion
134 + 'windwp/nvim-autopairs',
135 + -- glue, that binds all the neovim lsp crap
136 + 'VonHeikemen/lsp-zero.nvim',
137 + -- LSP Support
138 + 'neovim/nvim-lspconfig',
139 + 'williamboman/nvim-lsp-installer',
140 + 'simrat39/symbols-outline.nvim',
141 + -- Autocompletion
142 + 'hrsh7th/nvim-cmp',
143 + 'hrsh7th/cmp-buffer',
144 + 'hrsh7th/cmp-path',
145 + 'hrsh7th/cmp-nvim-lsp-document-symbol',
146 + 'saadparwaiz1/cmp_luasnip',
147 + 'hrsh7th/cmp-nvim-lsp',
148 + 'hrsh7th/cmp-nvim-lua',
149 + -- Snippets
150 + 'L3MON4D3/LuaSnip',
151 + 'rafamadriz/friendly-snippets',
152 + -- rust development
153 + 'simrat39/rust-tools.nvim',
154 + -- java development
155 + 'mfussenegger/nvim-jdtls',
156 + -- lua neovim config development
157 + 'folke/lua-dev.nvim',
158 + -- fake lsp to pipe in non-lsp tools, like formatters, into lsp api
159 + 'jose-elias-alvarez/null-ls.nvim',
160 + -- Special Java LSP integration sauce
161 + 'mfussenegger/nvim-jdtls',
162 + -- debug adapter protocol
163 + 'mfussenegger/nvim-dap',
164 + -- repls in neovim
165 + 'hkupty/iron.nvim',
166 + -- color picker
167 + 'ziontee113/color-picker.nvim',
168 + -- motions around object
169 + 'kylechui/nvim-surround',
167 171 -- local plugins. they may override plugins from above
168 172 vim.opt.runtimepath:append '~/Workspace/lsp-zero.nvim'

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
92 92 ---@diagnostic disable-next-line: missing-parameter
93 93 local root = vim.fn.glob(custom_root)
94 94 if root == '' then
95 - vim.notify('the custom root ' .. custom_root .. ' does not exist!', error)
95 + vim.notify('the custom root ' .. custom_root .. ' does not exist!', 'error')
96 96 return nil
98 98 -- define some language-independent markers
112 112 markers = vim.tbl_deep_extend('force', markers, custom_markers)
114 - local buffer_name = vim.api.nvim_buf_get_name(vim.api.nvim_get_current_buf())
114 + local buffer_name = vim.api.nvim_buf_get_name(0)
115 115 local directory_name = vim.fn.fnamemodify(buffer_name, ':p:h')
116 116 return determine_root(directory_name, markers, root)

neovim/lua/bugabinga/treesitter.lua

Modified
19 19 sync_install = true,
20 20 -- Automatically install missing parsers when entering buffer
21 21 auto_install = true,
22 - -- List of parsers to ignore installing (for "all")
23 - ignore_install = {},
25 23 highlight = {
26 24 -- `false` will disable the whole extension

neovim/lua/bugabinga/windows.lua

Modified
1 1 local want = require 'bugabinga.std.want'
2 2 want {
3 - 'focus',
4 - 'stabilize',
5 -}(function(focus, stabilize)
6 - local excluded_filetypes = { 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
3 + 'focus',
4 + 'stabilize',
5 +} (function(focus, stabilize)
8 - focus.setup {
9 - excluded_filetypes = excluded_filetypes,
10 - excluded_buftypes = { 'nofile', 'prompt', 'popup', 'help', 'terminal' },
11 - compatible_filetrees = { 'neo-tree' },
12 - cursorline = false,
13 - signcolumn = false,
14 - }
7 + local excluded_filetypes = { 'lsp-installer', 'toggleterm', 'qf', 'help', 'Trouble', 'neo-tree' }
8 + focus.setup {
9 + excluded_filetypes = excluded_filetypes,
10 + excluded_buftypes = { 'nofile', 'prompt', 'popup', 'help', 'terminal' },
11 + compatible_filetrees = { 'neo-tree' },
12 + cursorline = false,
13 + signcolumn = false,
14 + }
16 - stabilize.setup()
16 + stabilize.setup()
17 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 [ "ouch" "ouch" [] ]