From 70e9943aacfa3d9c3cc3846d9bc8762de903df42 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 12 Feb 2025 23:31:18 +0100 Subject: [PATCH] update supported nvim version to latest stable Update a few plugins --- README.md | 5 +---- init.lua | 2 +- lua/plugin_specs.lua | 15 ++++++++------- viml_conf/plugins.vim | 3 --- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3813bf0..b4a7bef 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Windows - Neovim minimum version + Neovim minimum version Latest release @@ -21,9 +21,6 @@ - - - diff --git a/init.lua b/init.lua index c40ee79..cd15458 100644 --- a/init.lua +++ b/init.lua @@ -13,7 +13,7 @@ vim.loader.enable() local utils = require("utils") -local expected_version = "0.10.3" +local expected_version = "0.10.4" utils.is_compatible_version(expected_version) local config_dir = vim.fn.stdpath("config") diff --git a/lua/plugin_specs.lua b/lua/plugin_specs.lua index 890a4c8..bdc9e5d 100644 --- a/lua/plugin_specs.lua +++ b/lua/plugin_specs.lua @@ -278,15 +278,9 @@ local plugin_specs = { -- Multiple cursor plugin like Sublime Text? -- 'mg979/vim-visual-multi' - -- Autosave files on certain events - { "907th/vim-auto-save", event = "InsertEnter" }, - -- Show undo history visually { "simnalamburt/vim-mundo", cmd = { "MundoToggle", "MundoShow" } }, - -- better UI for some nvim actions - { "stevearc/dressing.nvim" }, - -- Manage your yank history { "gbprod/yanky.nvim", @@ -513,7 +507,14 @@ local plugin_specs = { require("config.which-key") end, }, - + { + "folke/snacks.nvim", + priority = 1000, + lazy = false, + opts = { + input = { enabled = true }, + }, + }, -- show and trim trailing whitespaces { "jdhao/whitespace.nvim", event = "VeryLazy" }, diff --git a/viml_conf/plugins.vim b/viml_conf/plugins.vim index 19e9bef..415bd78 100644 --- a/viml_conf/plugins.vim +++ b/viml_conf/plugins.vim @@ -384,6 +384,3 @@ function! s:wilder_init() abort echohl Error |echomsg "Wilder.nvim missing"| echohl None endtry endfunction - -""""""""""""""""""""""""""""""vim-auto-save settings"""""""""""""""""""""""""""""" -let g:auto_save = 1 " enable AutoSave on Vim startup