-- this file lists plugins in their "incubation" phase. -- that means i am testing those out of curiosity, but am not sure yet i wish -- to use and depend on them. -- global toggle for all incubating plugins. set to false to quickly, but -- temporarily, get rid of all incubating plugins. local FUCK_STABILITY = true local icon = require 'std.icon' local const = require 'std.const' local dbg = require 'std.dbg' local ignored = require 'std.ignored' return { ------------------------------------------------------------------------------- --- does not yet restore well with session --- cannot navigate with C-w inside the DocsView --- it has a manual update mode, but which key to bind it to? { 'amrbashir/nvim-docs-view', keys = { { 'tk', 'DocsViewToggle', mode = { 'n' }, desc = 'Toggle stable documentation panel.', }, }, cmd = 'DocsViewToggle', opts = { position = 'right', width = 42, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- look into demicolon.nvim for ,; repition { 'mawkler/refjump.nvim', dependencies = { }, keys = { ']r', '[r' }, opts = {}, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- this is pretty great! i just need better binds and tell which key about them { 'chrisgrieser/nvim-rulebook', keys = { { 'ri', function () require 'rulebook'.ignoreRule() end }, { 'rl', function () require 'rulebook'.lookupRule() end }, { 'ry', function () require 'rulebook'.yankDiagnosticCode() end }, { 'sf', function () require 'rulebook'.suppressFormatter() end, mode = { 'n', 'x' } }, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- this plugin has some sick visual text formatting chops. check them out some time. { 'Wansmer/symbol-usage.nvim', event = 'LspAttach', opts = { hi = { link = 'LineNr' }, vt_position = 'end_of_line', request_pending_text = false, disable = { filetypes = ignored.filetypes, }, log = { enabled = dbg.get() }, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- Pretty NICE! --- fix highlights to match nugu. { 'dnlhc/glance.nvim', event = 'LspAttach', keys = { { 'gd', 'Glance definitions', { silent = true }, desc = 'Peek definitions', mode = 'n' }, { 'gr', 'Glance references', { silent = true }, desc = 'Peek refernces', mode = 'n' }, { 'gy', 'Glance type_definitions', { silent = true }, desc = 'Peek type definitions', mode = 'n' }, { 'gm', 'Glance implementations', { silent = true }, desc = 'Peek implementations', mode = 'n' }, }, config = true, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- { 'emmanueltouzery/decisive.nvim', config = function () require 'decisive'.setup {} end, ft = { 'csv' }, keys = { { 'cca', ":lua require('decisive').align_csv({})", { silent = true }, desc = 'Align CSV', mode = 'n' }, { 'ccA', ":lua require('decisive').align_csv_clear({})", { silent = true }, desc = 'Align CSV clear', mode = 'n' }, { '[c', ":lua require('decisive').align_csv_prev_col()", { silent = true }, desc = 'Align CSV prev col', mode = 'n' }, { ']c', ":lua require('decisive').align_csv_next_col()", { silent = true }, desc = 'Align CSV next col', mode = 'n' }, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- { 'folke/lazydev.nvim', dependencies = { 'justinsgithub/wezterm-types' }, ft = 'lua', -- only load on lua files opts = { library = { -- Or relative, which means they will be resolved from the plugin dir. 'lazy.nvim', -- It can also be a table with trigger words / mods -- Only load luvit types when the `vim.uv` word is found { path = 'luvit-meta/library', words = { 'vim%.uv' } }, -- Load the wezterm types when the `wezterm` module is required -- Needs `justinsgithub/wezterm-types` to be installed { path = 'wezterm-types', mods = { 'wezterm' } }, }, }, enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- fix highlights for nugu { 'mizlan/iswap.nvim', keys = { { 'ii', 'ISwapWith', { silent = true }, desc = 'Swap object with another', mode = 'n' }, }, event = 'VeryLazy', enabled = FUCK_STABILITY, }, ------------------------------------------------------------------------------- --- fix nugu highlights (also snippet highlights) --- configure with custom snippets? { 'saghen/blink.cmp', lazy = false, -- lazy loading handled internally -- use a release tag to download pre-built binaries version = 'v0.*', ---@module 'blink.cmp' ---@type blink.cmp.Config opts = { -- 'default' for mappings similar to built-in completion -- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate) -- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept -- see the "default configuration" section below for full documentation on how to define -- your own keymap. keymap = { preset = 'default' }, highlight = { -- sets the fallback highlight groups to nvim-cmp's highlight groups -- useful for when your theme doesn't support blink.cmp -- will be removed in a future release, assuming themes add support use_nvim_cmp_as_default = true, }, -- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font' -- adjusts spacing to ensure icons are aligned nerd_font_variant = 'normal', -- default list of enabled providers defined so that you can extend it -- elsewhere in your config, without redefining it, via `opts_extend` sources = { completion = { enabled_providers = { 'lsp', 'path', 'snippets', 'buffer' }, }, }, -- experimental auto-brackets support accept = { auto_brackets = { enabled = true } }, -- experimental signature help support trigger = { signature_help = { enabled = true } }, }, -- allows extending the enabled_providers array elsewhere in your config -- without having to redefine it opts_extend = { 'sources.completion.enabled_providers' }, }, ------------------------------------------------------------------------------- }