Update for neovim 0.10

Thu, 16 May 2024 14:51:53 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 May 2024 14:51:53 -0500
changeset 1167
f5f84f890974
parent 1166
34bf03fa07e4
child 1168
52750027eff6

Update for neovim 0.10

Drop editorconfig (added to 0.9)
Gate pull_diags (added to 0.10)

.config/nvim/lua/plugins/editing.lua file | annotate | diff | comparison | revisions
.config/nvim/lua/plugins/lsp.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/editing.lua
+++ b/.config/nvim/lua/plugins/editing.lua
@@ -32,14 +32,6 @@ g.interestingWordsTermColors = {
 }
 
 return {
-  {
-    "editorconfig/editorconfig-vim",
-    event = { "BufReadPost", "BufNewFile" },
-    cond = function()
-      return vim.fn.has("nvim-0.9") == 0
-    end,
-  },
-
   "tpope/vim-unimpaired",
   "tomtom/tcomment_vim",
 
--- a/.config/nvim/lua/plugins/lsp.lua
+++ b/.config/nvim/lua/plugins/lsp.lua
@@ -36,7 +36,7 @@ return {
   { "j-hui/fidget.nvim", event = "LspAttach", config = true },
 
   -- Support pull diagnostics until 0.10
-  { "catlee/pull_diags.nvim", event = "LspAttach", config = true },
+  { "catlee/pull_diags.nvim", event = "LspAttach", config = true, cond = (vim.fn.has("nvim-0.10") == 0) },
 
   {
     "aznhe21/actions-preview.nvim",

mercurial