From 4c9f5ce66dac01a6c9b42aea21fb86277ab41ff7 Mon Sep 17 00:00:00 2001 From: snelling-a <72226000+snelling-a@users.noreply.github.com> Date: Wed, 16 Aug 2023 10:05:36 +0200 Subject: [PATCH] fix: import cost --- lua/plugins/import-cost.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/plugins/import-cost.lua b/lua/plugins/import-cost.lua index 40134bb4..e63f294a 100644 --- a/lua/plugins/import-cost.lua +++ b/lua/plugins/import-cost.lua @@ -1,9 +1,15 @@ -local ImportCost = { "barrett-ruth/import-cost.nvim" } +local ImportCost = { + "barrett-ruth/import-cost.nvim", +} ImportCost.build = "sh install.sh yarn" -ImportCost.opts = { highlight = "TSComment" } +ImportCost.opts = { + highlight = "TSComment", +} -ImportCost.ft = require("config.util.constants").javascript_typescript +ImportCost.ft = vim.fn.deepcopy(require("config.util.constants").javascript_typescript) + +ImportCost.config = true return ImportCost