Pārlūkot izejas kodu

Modify conform comments to prevent deprecation warning when used (#1057)

Brandon Clark 2 gadi atpakaļ
vecāks
revīzija
1cef2325e0
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      init.lua

+ 2 - 3
init.lua

@@ -653,9 +653,8 @@ require('lazy').setup({
         -- Conform can also run multiple formatters sequentially
         -- python = { "isort", "black" },
         --
-        -- You can use a sub-list to tell conform to run *until* a formatter
-        -- is found.
-        -- javascript = { { "prettierd", "prettier" } },
+        -- You can use 'stop_after_first' to run the first available formatter from the list
+        -- javascript = { "prettierd", "prettier", stop_after_first = true },
       },
     },
   },