repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim: backup, swap and undo files

de3497178dd13b206a3a2203f113f822115227ef

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (12)

.gitignore

Modified
7 7 nushell/zoxide.nu
8 8 nushell/history.txt
9 9 nushell/plugin.nu
10 +neovim/profile.log
11 +neovim/profile.svg

neovim/init.lua

Modified
73 73 -- [ ] load plugins/init.lua and sync on write. reload init.lua?
74 74 -- [ ] disable gomove in special buffers
75 75 -- [ ] replace filetype.lua plugin with builtin: https://neovim.io/news/2022/04
76 +-- [ ] lsp diagnostics hide in insert mode
76 77 -- [x] JDTLS
77 78 -- [~] bindings for luadev
78 79 -- [~] close toogleterms on quit
109 110 -- PLUGINS TO TRY
111 +-- https://github.com/lukas-reineke/lsp-format.nvim
110 112 -- https://github.com/ThePrimeagen/refactoring.nvim
111 113 -- https://github.com/windwp/windline.nvim
112 114 -- https://github.com/hrsh7th/nvim-pasta

neovim/lua/bugabinga/lsp.lua

Modified
1 1 local want = require 'bugabinga.std.want'
2 2 want {
3 - 'lsp-zero',
4 - 'null-ls',
5 - 'nvim-lsp-installer',
6 - 'lua-dev',
7 - 'rust-tools',
8 - 'nvim-navic',
9 - 'lsp-status',
10 -}(function(zero, null_ls, installer, luadev, rust, navic, lsp_status)
11 - installer.settings {
12 - ui = {
13 - border = 'rounded',
14 - },
15 - }
3 + 'lsp-zero',
4 + 'null-ls',
5 + 'nvim-lsp-installer',
6 + 'lua-dev',
7 + 'rust-tools',
8 + 'nvim-navic',
9 + 'lsp-status',
10 +} (function(zero, null_ls, installer, luadev, rust, navic, lsp_status)
11 + installer.settings {
12 + ui = {
13 + border = 'rounded',
14 + },
15 + }
17 - zero.preset 'recommended'
17 + zero.preset 'recommended'
19 - -- setup lsp for my neovim config
20 - zero.nvim_workspace {
21 - -- add paths of all plugins and neovim
22 - library = vim.api.nvim_get_runtime_file('', true),
23 - }
24 - -- Initialize rust_analyzer with rust-tools
25 - rust.setup {
26 - server = zero.build_options('rust_analyzer', {}),
27 - }
19 + -- setup lsp for my neovim config
20 + zero.nvim_workspace {
21 + -- add paths of all plugins and neovim
22 + library = vim.api.nvim_get_runtime_file('', true),
23 + }
24 + -- Initialize rust_analyzer with rust-tools
25 + rust.setup {
26 + server = zero.build_options('rust_analyzer', {}),
27 + }
29 - -- this will prevent zero from loading this server.
30 - -- Java will be managed by nvim-jdtls, which wants to do things differently.
31 - -- see ftplugin/java.lua
32 - zero.build_options('jdtls', {})
29 + -- this will prevent zero from loading this server.
30 + -- Java will be managed by nvim-jdtls, which wants to do things differently.
31 + -- see ftplugin/java.lua
32 + zero.build_options('jdtls', {})
34 - -- lua neovim lsp
35 - luadev.setup {
36 - lspconfig = zero.defaults.nvim_workspace(),
37 - }
34 + -- lua neovim lsp
35 + luadev.setup {
36 + lspconfig = zero.defaults.nvim_workspace(),
37 + }
39 - -- disable disco mode while typing
40 - zero.setup_nvim_cmp {
41 - completion = {
42 - autocomplete = false,
43 - },
44 - }
39 + -- disable disco mode while typing
40 + zero.setup_nvim_cmp {
41 + completion = {
42 + autocomplete = false,
43 + },
44 + }
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 - })
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 - local formatting = null_ls.builtins.formatting
65 - local diagnostics = null_ls.builtins.diagnostics
66 - local code_actions = null_ls.builtins.code_actions
67 - local hover = null_ls.builtins.hover
68 - local completion = null_ls.builtins.completion
64 + local formatting = null_ls.builtins.formatting
65 + local diagnostics = null_ls.builtins.diagnostics
66 + local code_actions = null_ls.builtins.code_actions
67 + local hover = null_ls.builtins.hover
68 + local completion = null_ls.builtins.completion
70 - -- run diagnostics on save
71 - local diagnostics_on_save = { method = null_ls.methods.DIAGNOSTICS_ON_SAVE }
72 - null_ls.setup {
73 - on_attach = null_opts.on_attach,
74 - sources = {
75 - formatting.black.with { extra_args = { '--fast' } },
76 - formatting.stylua,
77 - formatting.clang_format,
78 - formatting.codespell,
79 - formatting.jq,
80 - formatting.protolint,
81 - formatting.shellharden,
82 - formatting.shfmt,
83 - formatting.taplo,
70 + -- run diagnostics on save
71 + local diagnostics_on_save = { method = null_ls.methods.DIAGNOSTICS_ON_SAVE }
72 + null_ls.setup {
73 + on_attach = null_opts.on_attach,
74 + sources = {
75 + formatting.black.with { extra_args = { '--fast' } },
76 + formatting.stylua,
77 + formatting.clang_format,
78 + formatting.codespell,
79 + formatting.jq,
80 + formatting.protolint,
81 + formatting.shellharden,
82 + formatting.shfmt,
83 + formatting.taplo,
85 - hover.dictionary,
85 + hover.dictionary,
87 - diagnostics.actionlint.with(diagnostics_on_save),
88 - diagnostics.checkmake.with(diagnostics_on_save),
89 - diagnostics.codespell.with(diagnostics_on_save),
90 - diagnostics.editorconfig_checker.with(diagnostics_on_save).with { command = 'editorconfig-checker' },
91 - diagnostics.gitlint.with(diagnostics_on_save),
92 - diagnostics.protoc_gen_lint.with(diagnostics_on_save),
93 - diagnostics.protolint.with(diagnostics_on_save),
94 - diagnostics.selene.with(diagnostics_on_save),
95 - diagnostics.shellcheck.with(diagnostics_on_save),
96 - diagnostics.tidy.with(diagnostics_on_save),
87 + diagnostics.actionlint.with(diagnostics_on_save),
88 + diagnostics.checkmake.with(diagnostics_on_save),
89 + diagnostics.codespell.with(diagnostics_on_save),
90 + diagnostics.editorconfig_checker.with(diagnostics_on_save).with { command = 'editorconfig-checker' },
91 + diagnostics.gitlint.with(diagnostics_on_save),
92 + diagnostics.protoc_gen_lint.with(diagnostics_on_save),
93 + diagnostics.protolint.with(diagnostics_on_save),
94 + diagnostics.selene.with(diagnostics_on_save).with {
95 + -- null-ls determines the root in a too simplistic manner.
96 + -- since my neovim configuration live inside my dotfiles, the dotfiles root
97 + -- was taken. but i want the neovim config folder as root.
98 + cwd = function(parameters)
99 + local project = require 'bugabinga.std.project'
100 + local root = project.determine_project_root({ name = 'selene.toml', weight = 10 }, parameters.root)
101 + return root or parameters.root
102 + end,
103 + },
104 + diagnostics.shellcheck.with(diagnostics_on_save),
105 + diagnostics.tidy.with(diagnostics_on_save),
98 - code_actions.refactoring,
99 - code_actions.shellcheck,
107 + code_actions.refactoring,
108 + code_actions.shellcheck,
101 - completion.luasnip,
102 - },
103 - }
110 + completion.luasnip,
111 + },
105 - zero.on_attach(function(client, buffer_number)
106 - if client.name ~= 'null-ls' and not vim.b.lsp_attached then
107 - navic.attach(client, buffer_number)
108 - lsp_status.on_attach(client, buffer_number)
109 - end
110 - end)
114 + zero.on_attach(function(client, buffer_number)
115 + if client.name ~= 'null-ls' and not vim.b.lsp_attached then
116 + navic.attach(client, buffer_number)
117 + lsp_status.on_attach(client, buffer_number)
118 + end
119 + end)
112 - zero.setup()
121 + zero.setup()

neovim/lua/bugabinga/options/behaviour.lua

Modified
18 18 vim.opt.tabstop = tab_size
19 19 vim.opt.shiftwidth = tab_size
20 20 vim.opt.softtabstop = tab_size
21 +vim.opt.shiftround = true
22 23 -- keep distance to borders while scrolling
23 24 vim.opt.scrolloff = 8
54 55 vim.opt.incsearch = true
55 56 vim.opt.showmatch = true
56 57 vim.opt.hidden = true
58 +vim.opt.wildignorecase = true
57 59 -- Show the effects of substitutions incrementally
58 60 vim.opt.inccommand = 'nosplit'
60 62 -- use ripgrep instead of grep
61 -vim.opt.grepprg = 'rg --vimgrep --no-heading --smart-case'
62 --- vim.opt.grepformat = '%f:%1:%c:%m'
63 +vim.opt.grepprg = 'rg --hidden --vimgrep --no-heading --smart-case --'
64 +vim.opt.grepformat = '%f:%l:%c:%m'
64 66 -- ask me to force failed commands
65 67 vim.opt.confirm = true

neovim/lua/bugabinga/options/file.lua

Modified
4 4 -- Keep track of file changes outside of vim
5 5 vim.opt.autoread = true
7 7 -- encode files in UTF-8
8 8 vim.opt.fileencoding = 'utf-8'
10 --- do not create local backup files
11 -vim.opt.backup = false
10 +-- create backup files
11 +vim.opt.backup = true
13 --- disable swap file. this means no recovery of files after crash.
14 --- but then again multiple neovim instances are not competing for a file.
15 --- and from a security standpoint, a swap file is a risk.
16 --- but that point is moot, because i use persistent undo...
17 -vim.opt.swapfile = false
13 +-- keep track of file state in case of neovim crashes
14 +vim.opt.swapfile = true
19 16 -- enable persistent undo. save undo history across neovim instances
20 17 vim.opt.undofile = true
22 --- do not make a backup before writing to a file
23 -vim.opt.writebackup = false
19 +-- make a backup before writing to a file
20 +vim.opt.writebackup = true

neovim/lua/bugabinga/options/init.lua

Modified
16 16 -- Disable some in built plugins completely
17 17 local disabled_built_ins = {
18 - 'netrw',
19 - 'netrwPlugin',
20 - 'netrwSettings',
21 - 'netrwFileHandlers',
22 - 'gzip',
23 - 'zip',
24 - 'zipPlugin',
25 - 'tar',
26 - 'tarPlugin',
27 - 'getscript',
28 - 'getscriptPlugin',
29 - 'vimball',
30 - 'vimballPlugin',
31 - '2html_plugin',
32 - 'logipat',
33 - 'rrhelper',
34 - 'spellfile_plugin',
35 - 'matchit',
36 - --'matchparen',
18 + 'netrw',
19 + 'netrwPlugin',
20 + 'netrwSettings',
21 + 'netrwFileHandlers',
22 + 'gzip',
23 + 'zip',
24 + 'zipPlugin',
25 + 'tar',
26 + 'tarPlugin',
27 + 'getscript',
28 + 'getscriptPlugin',
29 + 'vimball',
30 + 'vimballPlugin',
31 + '2html_plugin',
32 + 'logipat',
33 + 'rrhelper',
34 + 'spellfile_plugin',
35 + 'matchit',
36 + 'matchparen',
38 38 for _, plugin in pairs(disabled_built_ins) do
39 - vim.g['loaded_' .. plugin] = 1
39 + vim.g['loaded_' .. plugin] = 1

neovim/lua/bugabinga/options/ui.lua

Modified
1 1 -- show trailing whitespace
2 2 vim.opt.list = true
3 -vim.opt.listchars:append 'trail:⋅'
4 -vim.opt.listchars:append 'lead:⋅'
3 +vim.opt.listchars = {
4 + space = '⋅',
5 + eol = '↴',
6 + tab = '__',
7 + trail = '•',
8 + extends = '❯',
9 + precedes = '❮',
10 + nbsp = '_',
6 13 -- do not spam the cmdline with every little input
7 14 vim.opt.showcmd = false
16 23 -- what is a ruler? me?
17 24 vim.opt.ruler = false
19 --- do not echo every little thing
20 -vim.opt.showcmd = false
22 26 -- avoid jitter by keeping status area big
23 27 vim.opt.laststatus = 3
25 29 -- hide weird symbol at end of buffer
26 -vim.opt.fillchars:append 'eob: '
30 +vim.opt.fillchars = {
31 + eob = ' ',
32 + fold = ' ',
33 + diff = '╱',
28 36 -- hide output of insert completion popup in status
29 37 vim.opt.shortmess:append 'c'
31 39 -- hide cmd window to give status more room
32 40 vim.opt.cmdheight = 0
34 --- do not conceal special character, e.g. in markdown files
42 +-- do not conceal special characters by default. filestypes can enable this on demand.
35 43 vim.opt.conceallevel = 0
37 45 -- I do not care for folding
46 54 -- pop up menu height
47 55 vim.opt.pumheight = 10
57 +-- transparent popups and floating windows
58 +vim.opt.pumblend = 30
59 +vim.opt.winblend = 15
49 61 -- hide the mode indicator in status
50 62 vim.opt.showmode = false

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

neovim/lua/bugabinga/std/project.lua

Modified
1 +--- Determines the path to a root directory, starting from the given directory.
2 +-- Markers have a name and weight.
3 +-- Each name is checked for existence in all directories up to the root.
4 +-- The sum of all markers and their weight determines a directories score.
5 +-- The directory with the highest score will be returned.
6 +--
7 +-- ## Example
8 +-- Assuming you want to determine the root of your current buffer, that is part
9 +-- of some project.
10 +-- Buffer: `/home/user/workspace/some\_project/a/b/c/d/the\_buffer.c`
11 +-- Project root: `/home/user/workspace/some\_project`
12 +-- -> contains `.git`, `README` and `Makefile`
13 +--
14 +-- ```lua
15 +-- local project = require'bugabinga.std.project'
16 +-- local current_buffer = vim.api.nvim_buf_get_name(0)
17 +-- local markers = {
18 +-- { name = ".git", weight = 1 },
19 +-- { name = "README", weight = 2 },
20 +-- { naem = "Makefile", weight = 3 },
21 +-- }
22 +-- local root = project.determine_root(current_buffer, markers, "~")
23 +-- print(root) -- /home/user/workspace/some_project
24 +-- ```
25 +---@param directory string The starting directory, from where to begin the search.
26 +---@param markers table<string,number> List of markers, that define the root, that is searched for.
27 +---@param root string The last directory on the path to root, when to stop searching. Usually '/' or '~'.
28 +---@return string? #A directory, that contains the `markers` and lies on the path from `directory` to `root`.
1 29 local function determine_root(directory, markers, root)
2 - local dirname = function(path)
3 - return vim.fn.fnamemodify(path, ':h')
4 - end
5 - local exists = function(path)
6 - return vim.loop.fs_stat(path)
7 - end
8 - local directory_scores = {}
9 - local current_distance_to_buffer = 0
10 - --traverse the path to root and check every directory on the way for files
11 - --that are named like the given markers. if markers exist, add those to the
12 - --score of the directory. scores of all directories with markers will be
13 - --processes later.
14 - --the root itself never gets checked for markers!
15 - -- stop if we reached the user defined root instead of the file system root
16 - while directory ~= root do
17 - local score = {
18 - path = directory,
19 - marker_count = 0,
20 - distance_to_buffer_file = current_distance_to_buffer,
21 - markers = {},
22 - }
30 + local dirname = function(path)
31 + return vim.fn.fnamemodify(path, ':h')
32 + end
33 + local exists = function(path)
34 + return vim.loop.fs_stat(path)
35 + end
36 + local directory_scores = {}
37 + local current_distance_to_buffer = 0
38 + --traverse the path to root and check every directory on the way for files
39 + --that are named like the given markers. if markers exist, add those to the
40 + --score of the directory. scores of all directories with markers will be
41 + --processes later.
42 + --the root itself never gets checked for markers!
43 + -- stop if we reached the user defined root instead of the file system root
44 + while directory ~= root do
45 + local score = {
46 + path = directory,
47 + marker_count = 0,
48 + distance_to_buffer_file = current_distance_to_buffer,
49 + markers = {},
50 + }
24 - for _, marker in ipairs(markers) do
25 - local marker_path = directory .. '/' .. marker.name
26 - if exists(marker_path) then
27 - score.marker_count = score.marker_count + marker.weight
28 - table.insert(score.markers, marker_path)
29 - end
30 - end
52 + for _, marker in ipairs(markers) do
53 + local marker_path = directory .. '/' .. marker.name
54 + if exists(marker_path) then
55 + score.marker_count = score.marker_count + marker.weight
56 + table.insert(score.markers, marker_path)
57 + end
58 + end
32 - if score.marker_count > 0 then
33 - table.insert(directory_scores, score)
34 - end
60 + if score.marker_count > 0 then
61 + table.insert(directory_scores, score)
62 + end
36 - directory = dirname(directory)
37 - current_distance_to_buffer = current_distance_to_buffer + 1
38 - end
64 + directory = dirname(directory)
65 + current_distance_to_buffer = current_distance_to_buffer + 1
66 + end
40 - local project_root = nil
41 - local max_likelyhood = 0
42 - -- the project root is most likely the directory with the highest marker count
43 - -- and distance to current buffer.
44 - -- because if there are markers further away from the buffer than other markers,
45 - -- then it is most likely a nested project structure (multi-module).
46 - -- in those cases we are looking for the root project folder, instead the nearest
47 - -- child project root folder.
48 - for _, score in ipairs(directory_scores) do
49 - local likelihood = score.marker_count + score.distance_to_buffer_file
50 - if likelihood > max_likelyhood then
51 - max_likelyhood = likelihood
52 - project_root = score.path
53 - end
54 - end
55 - return project_root
68 + local project_root = nil
69 + local max_likelyhood = 0
70 + -- the project root is most likely the directory with the highest marker count
71 + -- and distance to current buffer.
72 + -- because if there are markers further away from the buffer than other markers,
73 + -- then it is most likely a nested project structure (multi-module).
74 + -- in those cases we are looking for the root project folder, instead the nearest
75 + -- child project root folder.
76 + for _, score in ipairs(directory_scores) do
77 + local likelihood = score.marker_count + score.distance_to_buffer_file
78 + if likelihood > max_likelyhood then
79 + max_likelyhood = likelihood
80 + project_root = score.path
81 + end
82 + end
83 + return project_root
58 86 --- Determines the project root directory of the current buffer file. A "project" is not clearly defined for all programming languages, so this function uses a heuristic approach.
60 88 ---@param custom_root string Given a `custom_root` the path traversal can be aborted before the filesystem root is reached. A useful value might be `~` for example, if your source code is always in your home directory. the root directory itself does __not__ get searched for markers!
61 89 ---@return string project_root The project root of the current buffer, or `nil`, if none could be determined.
62 90 local function determine_project_root(custom_markers, custom_root)
63 - -- glob expands user defined root and checks, that it exists
64 - local root = vim.fn.glob(custom_root, false, false)
65 - if root == '' then
66 - vim.notify('the custom root ' .. custom_root .. ' does not exist!', error)
67 - return nil
68 - end
69 - -- define some language-independent markers
70 - local markers = {
71 - { name = '.git', weight = 1 },
72 - { name = '.gitignore', weight = 1 },
73 - { name = '.svn', weight = 1 },
74 - { name = 'justfile', weight = 1 },
75 - { name = 'Jenkinsfile', weight = 1 },
76 - { name = '.editorconfig', weight = 1 },
77 - { name = 'LICENSE', weight = 1 },
78 - { name = 'LICENSE.txt', weight = 1 },
79 - { name = 'COPYING', weight = 1 },
80 - { name = 'README', weight = 1 },
81 - { name = 'README.md', weight = 1 },
82 - }
83 - markers = vim.tbl_deep_extend('force', markers, custom_markers)
91 + -- glob expands user defined root and checks, that it exists
92 + local root = vim.fn.glob(custom_root, false, false)
93 + if root == '' then
94 + vim.notify('the custom root ' .. custom_root .. ' does not exist!', error)
95 + return nil
96 + end
97 + -- define some language-independent markers
98 + local markers = {
99 + { name = '.git', weight = 1 },
100 + { name = '.gitignore', weight = 1 },
101 + { name = '.svn', weight = 1 },
102 + { name = 'justfile', weight = 1 },
103 + { name = 'Jenkinsfile', weight = 1 },
104 + { name = '.editorconfig', weight = 1 },
105 + { name = 'LICENSE', weight = 1 },
106 + { name = 'LICENSE.txt', weight = 1 },
107 + { name = 'COPYING', weight = 1 },
108 + { name = 'README', weight = 1 },
109 + { name = 'README.md', weight = 1 },
111 + 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())
86 - local directory_name = vim.fn.fnamemodify(buffer_name, ':p:h')
87 - return determine_root(directory_name, markers, root)
113 + local buffer_name = vim.api.nvim_buf_get_name(vim.api.nvim_get_current_buf())
114 + local directory_name = vim.fn.fnamemodify(buffer_name, ':p:h')
115 + return determine_root(directory_name, markers, root)
90 118 local java_markers = {
91 - { name = '.idea', weight = 2 },
92 - { name = '.classpath', weight = 2 },
93 - { name = '.settings', weight = 2 },
94 - { name = '.project', weight = 2 },
95 - { name = 'target', weight = 2 },
96 - { name = 'pom.xml', weight = 2 },
97 - { name = 'mvnw', weight = 3 },
98 - { name = '.mvn', weight = 3 },
99 - { name = 'mvnw.cmd', weight = 3 },
100 - { name = 'build.gradle', weight = 2 },
101 - { name = 'gradle.properties', weight = 3 },
102 - { name = 'settings.gradle', weight = 3 },
103 - { name = 'gradlew', weight = 3 },
104 - { name = 'gradlew.bat', weight = 3 },
119 + { name = '.idea', weight = 2 },
120 + { name = '.classpath', weight = 2 },
121 + { name = '.settings', weight = 2 },
122 + { name = '.project', weight = 2 },
123 + { name = 'target', weight = 2 },
124 + { name = 'pom.xml', weight = 2 },
125 + { name = 'mvnw', weight = 3 },
126 + { name = '.mvn', weight = 3 },
127 + { name = 'mvnw.cmd', weight = 3 },
128 + { name = 'build.gradle', weight = 2 },
129 + { name = 'gradle.properties', weight = 3 },
130 + { name = 'settings.gradle', weight = 3 },
131 + { name = 'gradlew', weight = 3 },
132 + { name = 'gradlew.bat', weight = 3 },
106 134 local function determine_java_project_root(user_root)
107 - return determine_project_root(java_markers, user_root)
135 + return determine_project_root(java_markers, user_root)
110 138 local function is_java_project_root(directory, user_root)
111 - -- avoid determine_project_root to __not__ check non-java markers
112 - return determine_root(directory, java_markers, user_root) ~= nil
139 + -- avoid determine_project_root to __not__ check non-java markers
140 + return determine_root(directory, java_markers, user_root) ~= nil
115 143 return {
116 - is_java_project_root = is_java_project_root,
117 - determine_root = determine_root,
118 - determine_project_root = determine_project_root,
119 - determine_java_project_root = determine_java_project_root,
144 + is_java_project_root = is_java_project_root,
145 + determine_root = determine_root,
146 + determine_project_root = determine_project_root,
147 + determine_java_project_root = determine_java_project_root,

neovim/neovim.toml

Deleted
deleted file mode 100644
1 -[selene]
2 -base = "lua51"
3 -name = "neovim"
5 -[vim]
6 -any = true
8 -[[assert.args]]
9 -type = "bool"
11 -[[assert.args]]
12 -type = "string"
13 -required = false
15 -[[after_each.args]]
16 -type = "function"
18 -[[before_each.args]]
19 -type = "function"
21 -[[describe.args]]
22 -type = "string"
24 -[[describe.args]]
25 -type = "function"
27 -[[it.args]]
28 -type = "string"
30 -[[it.args]]
31 -type = "function"

neovim/neovim.yml

Added
new file mode 100644
1 +---
2 +base: lua51
3 +name: neovim
4 +globals:
5 + after_each:
6 + args:
7 + - type: function
8 + assert:
9 + args:
10 + - type: bool
11 + - required: false
12 + type: string
13 + before_each:
14 + args:
15 + - type: function
16 + describe:
17 + args:
18 + - type: string
19 + - type: function
20 + it:
21 + args:
22 + - type: string
23 + - type: function
24 + vim:
25 + any: true

neovim/startuptime/pop-os_2022_07_03_23_07_58.txt

Added
new file mode 100644
1 +Extra options: [init.lua]
2 +Measured: 100 times
4 +Total Average: 97.488750 msec
5 +Total Max: 111.248000 msec
6 +Total Min: 94.869000 msec
8 + AVERAGE MAX MIN
9 +------------------------------
10 +75.355390 86.656000 72.668000: /home/oli/.config/nvim/init.lua
11 + 3.416710 3.574000 3.249000: loading packages
12 + 2.133420 2.279000 2.055000: loading after plugins
13 + 2.091000 2.219000 1.998000: reading ShaDa
14 + 1.788310 1.904000 1.737000: loading rtp plugins
15 + 1.732340 2.847000 1.459000: sourcing vimrc file(s)
16 + 1.199860 1.783000 0.539000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim
17 + 1.004380 1.341000 0.492000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter/plugin/nvim-treesitter.lua
18 + 0.743370 1.097000 0.532000: opening buffers
19 + 0.676750 0.764000 0.583000: BufEnter autocommands
20 + 0.564690 0.856000 0.296000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-refactor/plugin/nvim-treesitter-refactor.vim
21 + 0.526980 1.152000 0.302000: /home/oli/.local/share/nvim/site/pack/paqs/start/symbols-outline.nvim/plugin/symbols-outline.vim
22 + 0.489000 0.852000 0.187000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-autotag/plugin/nvim-ts-autotag.vim
23 + 0.484390 0.811000 0.347000: init lua interpreter
24 + 0.447400 0.888000 0.193000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-cmp/plugin/cmp.lua
25 + 0.404220 0.678000 0.307000: init highlight
26 + 0.348490 0.411000 0.337000: /home/oli/.local/share/nvim/runtime/syntax/syntax.vim
27 + 0.327990 0.417000 0.247000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-gomove/plugin/gomove.lua
28 + 0.266720 0.482000 0.131000: /home/oli/.local/share/nvim/site/pack/paqs/start/playground/plugin/nvim-treesitter-playground.lua
29 + 0.245100 0.441000 0.174000: inits 1
30 + 0.230410 0.414000 0.117000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-treesitter-textsubjects/plugin/nvim-treesitter-textsubjects.vim
31 + 0.222010 0.447000 0.154000: /home/oli/.local/share/nvim/site/pack/paqs/start/indent-blankline.nvim/plugin/indent_blankline.vim
32 + 0.197580 0.408000 0.114000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope.nvim/plugin/telescope.lua
33 + 0.172600 0.565000 0.135000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-buffer/after/plugin/cmp_buffer.lua
34 + 0.165840 0.270000 0.116000: locale set
35 + 0.154880 0.290000 0.108000: /home/oli/.local/share/nvim/site/pack/paqs/start/Comment.nvim/after/plugin/Comment.lua
36 + 0.150640 0.199000 0.139000: /home/oli/.local/share/nvim/site/pack/paqs/start/LuaSnip/plugin/luasnip.vim
37 + 0.145920 0.310000 0.074000: /home/oli/.local/share/nvim/site/pack/paqs/start/leap.nvim/plugin/init.lua
38 + 0.107540 0.216000 0.052000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-ts-context-commentstring/plugin/ts_context_commentstring.vim
39 + 0.104520 0.287000 0.050000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lspconfig/plugin/lspconfig.vim
40 + 0.095370 0.162000 0.091000: /home/oli/.local/share/nvim/site/pack/paqs/start/registers.nvim/plugin/registers.vim
41 + 0.094000 0.118000 0.090000: /home/oli/.local/share/nvim/runtime/plugin/rplugin.vim
42 + 0.088430 0.316000 0.039000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-dap/plugin/dap.lua
43 + 0.082530 0.269000 0.065000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp_luasnip/after/plugin/cmp_luasnip.lua
44 + 0.075960 0.224000 0.062000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-path/after/plugin/cmp_path.lua
45 + 0.072460 0.376000 0.034000: /home/oli/.local/share/nvim/site/pack/paqs/start/hydra.nvim/plugin/hydra.lua
46 + 0.070640 0.210000 0.055000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp-document-symbol/after/plugin/cmp_nvim_lsp_document_symbol.lua
47 + 0.062860 0.068000 0.061000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-lsp-installer/plugin/nvim-lsp-installer.vim
48 + 0.061500 0.070000 0.058000: /home/oli/.local/share/nvim/runtime/syntax/synload.vim
49 + 0.046000 0.102000 0.028000: /home/oli/.local/share/nvim/site/pack/paqs/start/dressing.nvim/plugin/dressing.lua
50 + 0.045770 0.264000 0.018000: /home/oli/.local/share/nvim/runtime/filetype.lua
51 + 0.043050 0.089000 0.037000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-hlslens/plugin/hlslens.vim
52 + 0.040870 0.049000 0.040000: /home/oli/.local/share/nvim/site/pack/paqs/start/FixCursorHold.nvim/plugin/fix_cursorhold_nvim.vim
53 + 0.040710 0.059000 0.033000: /home/oli/.local/share/nvim/runtime/ftplugin.vim
54 + 0.040020 0.070000 0.038000: /home/oli/.local/share/nvim/runtime/plugin/shada.vim
55 + 0.037310 0.057000 0.036000: /home/oli/.local/share/nvim/site/pack/paqs/start/statusline.lua/plugin/statusline.vim
56 + 0.036560 0.162000 0.027000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua
57 + 0.034650 0.040000 0.033000: /home/oli/.local/share/nvim/site/pack/paqs/start/trouble.nvim/plugin/trouble.vim
58 + 0.032850 0.059000 0.029000: /home/oli/.local/share/nvim/site/pack/paqs/start/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua
59 + 0.032690 0.053000 0.024000: inits 2
60 + 0.032500 0.055000 0.023000: expanding arguments
61 + 0.027800 0.088000 0.019000: parsing arguments
62 + 0.027210 0.060000 0.024000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
63 + 0.026570 0.044000 0.025000: /home/oli/.local/share/nvim/site/pack/paqs/start/editorconfig.nvim/plugin/editorconfig.vim
64 + 0.025990 0.034000 0.024000: /home/oli/.local/share/nvim/site/pack/paqs/start/plenary.nvim/plugin/plenary.vim
65 + 0.025080 0.033000 0.023000: /home/oli/.local/share/nvim/runtime/plugin/man.vim
66 + 0.025040 0.060000 0.023000: /home/oli/.local/share/nvim/site/pack/paqs/start/neo-tree.nvim/plugin/neo-tree.vim
67 + 0.023710 0.042000 0.019000: /home/oli/.local/share/nvim/runtime/indent.vim
68 + 0.023010 0.038000 0.016000: init default autocommands
69 + 0.022880 0.035000 0.020000: /home/oli/.local/share/nvim/site/pack/paqs/start/filetype.nvim/filetype.vim
70 + 0.022250 0.043000 0.021000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-colorizer.lua/plugin/colorizer.vim
71 + 0.020220 0.043000 0.016000: init default mappings
72 + 0.018500 0.021000 0.018000: /home/oli/.local/share/nvim/site/pack/paqs/start/telescope-frecency.nvim/plugin/frecency.vim
73 + 0.017240 0.020000 0.016000: /home/oli/.local/share/nvim/site/pack/paqs/start/todo-comments.nvim/plugin/todo.vim
74 + 0.016900 0.025000 0.016000: /home/oli/.local/share/nvim/site/pack/paqs/start/nvim-jdtls/plugin/nvim_jdtls.vim
75 + 0.013620 0.018000 0.013000: clearing screen
76 + 0.012240 0.016000 0.012000: /home/oli/Workspace/lsp-zero.nvim/plugin/lsp-zero.vim
77 + 0.011470 0.026000 0.010000: /home/oli/.local/share/nvim/runtime/filetype.vim
78 + 0.011100 0.013000 0.011000: /home/oli/.local/share/nvim/runtime/plugin/netrwPlugin.vim
79 + 0.011050 0.015000 0.010000: /home/oli/.local/share/nvim/runtime/plugin/tutor.vim
80 + 0.010840 0.013000 0.010000: /home/oli/.local/share/nvim/runtime/plugin/gzip.vim
81 + 0.010130 0.013000 0.009000: /home/oli/.local/share/nvim/site/pack/paqs/start/rust-tools.nvim/plugin/rust-tools.vim
82 + 0.010020 0.011000 0.010000: /home/oli/.local/share/nvim/runtime/plugin/zipPlugin.vim
83 + 0.010010 0.011000 0.009000: /home/oli/.local/share/nvim/runtime/plugin/tarPlugin.vim
84 + 0.009410 0.020000 0.007000: window checked
85 + 0.008830 0.029000 0.008000: inits 3
86 + 0.008060 0.011000 0.008000: /home/oli/.local/share/nvim/runtime/plugin/matchparen.vim
87 + 0.007330 0.010000 0.007000: /home/oli/.local/share/nvim/runtime/plugin/matchit.vim
88 + 0.007110 0.025000 0.006000: /home/oli/.local/share/nvim/runtime/plugin/tohtml.vim
89 + 0.007020 0.008000 0.007000: /home/oli/.local/share/nvim/runtime/plugin/spellfile.vim
90 + 0.006140 0.009000 0.006000: /home/oli/.local/share/nvim/runtime/plugin/health.vim
91 + 0.006120 0.008000 0.006000: /home/oli/.local/share/nvim/rplugin.vim
92 + 0.005380 0.012000 0.003000: --- NVIM STARTING ---
93 + 0.003260 0.070000 0.002000: editing files in windows