Disable editorconfig-vim after nvim-0.9

Sat, 08 Apr 2023 13:58:09 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 13:58:09 -0500
changeset 1100
27bf2b97c98f
parent 1099
28f3c3900576
child 1101
40419d8e3cbb

Disable editorconfig-vim after nvim-0.9

.config/nvim/lua/plugins/editing.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/editing.lua
+++ b/.config/nvim/lua/plugins/editing.lua
@@ -35,6 +35,7 @@ return {
   {
     "editorconfig/editorconfig-vim",
     event = { "BufReadPost", "BufNewFile" },
+    cond = function() return vim.fn.has("nvim-0.9") == 0 end,
   },
 
   "tpope/vim-unimpaired",

mercurial