diff --git a/lua/plugins/code-utils.lua b/lua/plugins/code-utils.lua index 3b08737..90f5cae 100644 --- a/lua/plugins/code-utils.lua +++ b/lua/plugins/code-utils.lua @@ -23,28 +23,28 @@ return { -- │ Completion │ { - 'saghen/blink.cmp', - dependencies = { 'rafamadriz/friendly-snippets' }, - version = '1.*', - opts = { - -- C-e: Hide menu - -- C-k: Toggle signature help (if signature.enabled = true) - keymap = { - preset = 'default', - [''] = { 'accept', 'fallback' }, - [''] = { 'select_next', 'fallback' }, - [''] = { 'select_prev', 'fallback' }, - }, - appearance = { - nerd_font_variant = 'mono' - }, - completion = { documentation = { auto_show = false } }, - sources = { + 'saghen/blink.cmp', + dependencies = { 'rafamadriz/friendly-snippets' }, + version = '1.*', + opts = { + -- C-e: Hide menu + -- C-k: Toggle signature help (if signature.enabled = true) + keymap = { + preset = 'default', + [''] = { 'accept', 'fallback' }, + [''] = { 'select_next', 'fallback' }, + [''] = { 'select_prev', 'fallback' }, }, - default = { 'lsp', 'path', 'snippets', 'buffer' }, - fuzzy = { implementation = "prefer_rust_with_warning" } - }, - opts_extend = { "sources.default" } + appearance = { + nerd_font_variant = 'mono' + }, + completion = { documentation = { auto_show = false } }, + sources = { + }, + default = { 'lsp', 'path', 'snippets', 'buffer' }, + fuzzy = { implementation = "prefer_rust_with_warning" } + }, + opts_extend = { "sources.default" } }, -- -- │ Auto close │ @@ -52,11 +52,11 @@ return { "windwp/nvim-ts-autotag", config = function(_, opts) require('nvim-ts-autotag').setup({ - opts = { - enable_close = true, - enable_rename = true, - enable_close_on_slash = false - }, + opts = { + enable_close = true, + enable_rename = true, + enable_close_on_slash = false + }, }) end, }, @@ -68,18 +68,18 @@ return { }, -- │ Easy comments │ - { - "numToStr/Comment.nvim", - keys = { - { "gcc", mode = "n", desc = "Comment toggle current line" }, - { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" }, - { "gc", mode = "x", desc = "Comment toggle linewise (visual)" }, - { "gbc", mode = "n", desc = "Comment toggle current block" }, - { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" }, - { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" }, - }, - config = function(_, opts) - require("Comment").setup(opts) - end, - }, + -- { + -- "numToStr/Comment.nvim", + -- keys = { + -- { "gcc", mode = "n", desc = "Comment toggle current line" }, + -- { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" }, + -- { "gc", mode = "x", desc = "Comment toggle linewise (visual)" }, + -- { "gbc", mode = "n", desc = "Comment toggle current block" }, + -- { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" }, + -- { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" }, + -- }, + -- config = function(_, opts) + -- require("Comment").setup(opts) + -- end, + -- }, } diff --git a/lua/plugins/help.lua b/lua/plugins/help.lua index 1d933c2..9e164d8 100644 --- a/lua/plugins/help.lua +++ b/lua/plugins/help.lua @@ -19,5 +19,4 @@ return { -- }, -- }, -- } - { 'ThePrimeagen/vim-be-good' } } diff --git a/lua/plugins/navigation.lua b/lua/plugins/navigation.lua index ac2950f..ddc2630 100644 --- a/lua/plugins/navigation.lua +++ b/lua/plugins/navigation.lua @@ -2,27 +2,27 @@ return { -- ╭────────────╮ -- │ Navigation │ -- ╰────────────╯ - { - "folke/flash.nvim", - event = "VeryLazy", - opts = {}, - keys = { - { - "s", - mode = { "n", "x", "o" }, - function() - require("flash").jump() - end, - desc = "Flash", - }, - { - "S", - mode = { "n", "x", "o" }, - function() - require("flash").treesitter() - end, - desc = "Flash Treesitter", - }, - }, - }, + -- { + -- "folke/flash.nvim", + -- event = "VeryLazy", + -- opts = {}, + -- keys = { + -- { + -- "s", + -- mode = { "n", "x", "o" }, + -- function() + -- require("flash").jump() + -- end, + -- desc = "Flash", + -- }, + -- { + -- "S", + -- mode = { "n", "x", "o" }, + -- function() + -- require("flash").treesitter() + -- end, + -- desc = "Flash Treesitter", + -- }, + -- }, + -- }, } diff --git a/lua/plugins/opts/autosession.lua b/lua/plugins/opts/autosession.lua deleted file mode 100644 index 2e43810..0000000 --- a/lua/plugins/opts/autosession.lua +++ /dev/null @@ -1,21 +0,0 @@ -local options = { - auto_session_enabled = true, - auto_save_enabled = false, - auto_restore_enabled = false, - auto_session_use_git_branch = true, - log_level = "error", - auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/" }, - session_lens = { - -- If load_on_setup is false, make sure you use `:SessionSearch` to open the picker as it will initialize everything first - load_on_setup = false, - theme_conf = { border = true }, - previewer = false, - mappings = { - -- Mode can be a string or a table, e.g. {"i", "n"} for both insert and normal mode - delete_session = { "i", "" }, - alternate_session = { "i", "" }, - }, - }, -} - -return options diff --git a/lua/plugins/opts/bufferline.lua b/lua/plugins/opts/bufferline.lua index eb2b978..da95989 100644 --- a/lua/plugins/opts/bufferline.lua +++ b/lua/plugins/opts/bufferline.lua @@ -76,7 +76,6 @@ local config = { }, { name = "Shells", - icon = " ", highlight = { undercurl = false, sp = "grey" }, auto_close = false, matcher = function(buf) diff --git a/lua/plugins/opts/noice.lua b/lua/plugins/opts/noice.lua index 1c139db..85af31a 100644 --- a/lua/plugins/opts/noice.lua +++ b/lua/plugins/opts/noice.lua @@ -23,7 +23,7 @@ local config = { }, cmdline = { enabled = true, - view = "cmdline_popup", + view = "cmdline", -- cmdline, cmdline_popup opts = {}, ---@type table format = { @@ -59,11 +59,11 @@ local config = { }, }, presets = { - bottom_search = true, -- use a classic bottom cmdline for search - command_palette = true, -- position the cmdline and popupmenu together + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- position the cmdline and popupmenu together long_message_to_split = true, -- long messages will be sent to a split - inc_rename = false, -- enables an input dialog for inc-rename.nvim - lsp_doc_border = false, -- add a border to hover docs and signature help + inc_rename = false, -- enables an input dialog for inc-rename.nvim + lsp_doc_border = false, -- add a border to hover docs and signature help }, routes = { { view = "cmdline", filter = { event = "msg_showmode" } }, diff --git a/lua/plugins/sessions.lua b/lua/plugins/sessions.lua deleted file mode 100644 index 1945e94..0000000 --- a/lua/plugins/sessions.lua +++ /dev/null @@ -1,16 +0,0 @@ --- ╭──────────╮ --- │ Sessions │ --- ╰──────────╯ -return { - { - - "rmagatti/auto-session", - dependencies = { - "nvim-telescope/telescope.nvim", - }, - opts = function() - return require("plugins.opts.autosession") - end, - lazy = false, - }, -} diff --git a/lua/plugins/style.lua b/lua/plugins/style.lua index 8b8ac20..7b37e8a 100644 --- a/lua/plugins/style.lua +++ b/lua/plugins/style.lua @@ -45,11 +45,11 @@ return { smear_insert_mode = true, -- fast smear - stiffness = 0.8, -- 0.6 [0, 1] - trailing_stiffness = 0.5, -- 0.4 [0, 1] - stiffness_insert_mode = 0.6, -- 0.4 [0, 1] + stiffness = 0.8, -- 0.6 [0, 1] + trailing_stiffness = 0.5, -- 0.4 [0, 1] + stiffness_insert_mode = 0.6, -- 0.4 [0, 1] trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1] - distance_stop_animating = 0.5, -- 0.1 > 0 + distance_stop_animating = 0.5, -- 0.1 > 0 }, }, }