nvim: switch to preferring last symver tag / add exceptions

Mon, 09 Oct 2023 18:47:36 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 09 Oct 2023 18:47:36 -0500
changeset 1131
f3044a1658fc
parent 1130
91a00bcc28f9
child 1132
532c7964b23f

nvim: switch to preferring last symver tag / add exceptions

.config/nvim/lua/lazy-bootstrap.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/completion.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/editing.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/filetype.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/lsp.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/ui.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/lazy-bootstrap.lua
+++ b/.config/nvim/lua/lazy-bootstrap.lua
@@ -38,6 +38,9 @@ require("lazy").setup({
     { import = "plugins" },
   },
   change_detection = { enabled = false },
+  defaults = {
+    version = "*",
+  },
   performance = {
     rtp = {
       disabled_plugins = {
--- a/.config/nvim/lua/plugins/completion.lua
+++ b/.config/nvim/lua/plugins/completion.lua
@@ -1,6 +1,7 @@
 return {
   {
     "hrsh7th/nvim-cmp",
+    branch = "main",
     event = "InsertEnter",
     dependencies = {
       "hrsh7th/cmp-buffer",
@@ -91,6 +92,7 @@ return {
 
   {
     "ray-x/lsp_signature.nvim",
+    branch = "master",
     events = { "LspAttach" },
     opts = {
       toggle_key = "<F12>",
--- a/.config/nvim/lua/plugins/editing.lua
+++ b/.config/nvim/lua/plugins/editing.lua
@@ -78,7 +78,7 @@ return {
   { "mbbill/undotree", cmd = "UndotreeToggle" },
 
   "tpope/vim-vinegar",
-  "lfv89/vim-interestingwords",
+  { "lfv89/vim-interestingwords", branch = "master" },
   "kshenoy/vim-signature",
   { "majutsushi/tagbar", cmd = "TagbarToggle" },
 
--- a/.config/nvim/lua/plugins/filetype.lua
+++ b/.config/nvim/lua/plugins/filetype.lua
@@ -21,6 +21,7 @@ return {
         highlight = { enable = true },
         indent = { enable = true },
         endwise = { enable = true },
+        sync_install = true,
         ensure_installed = {
           "c",
           "comment",
@@ -38,13 +39,12 @@ return {
   { "Shougo/vinarise.vim", cmd = "Vinarise" },
   "asciidoc/vim-asciidoc",
   { "vim-perl/vim-perl", branch = "dev" },
-  "yko/mojo.vim",
+  { "yko/mojo.vim", branch = "master" },
 
   -- Because of Elixir/OTP mismatches, this is more reliable than Mason for
   -- elixir-ls
   {
     "elixir-tools/elixir-tools.nvim",
-    version = "*",
     event = { "BufReadPre", "BufNewFile" },
     config = function()
       local elixir = require("elixir")
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -4,6 +4,7 @@ return {
 
   {
     "neovim/nvim-lspconfig",
+    branch = "master",
     event = { "BufReadPre", "BufNewFile" },
     dependencies = {
       { "williamboman/mason-lspconfig.nvim", config = true },
--- a/.config/nvim/lua/plugins/ui.lua
+++ b/.config/nvim/lua/plugins/ui.lua
@@ -37,7 +37,6 @@ return {
 
   {
     "lukas-reineke/indent-blankline.nvim",
-    version = "^3.0.0",
     main = "ibl",
     keys = {
       { "<leader>ig", "<cmd>IBLToggle<cr>" },
@@ -52,11 +51,9 @@ return {
 
   {
     "echasnovski/mini.indentscope",
-    version = false, -- wait till new 0.7.0 release to put it back on semver
     event = "BufReadPre",
     opts = {
       symbol = "│",
-      -- symbol = "▏",
       options = { try_as_border = true },
       draw = {
         animation = function()

mercurial