From 6cc50cb3390a14d0844b17e4491ac5eaf4227c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 18 Mar 2024 00:15:00 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(nvim):=20change=20s?= =?UTF-8?q?ome=20keymaps=20that=20are=20overwriten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nvim/lua/plugins/extras/lang/web/typescript-extended.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lang/web/typescript-extended.lua b/.config/nvim/lua/plugins/extras/lang/web/typescript-extended.lua index cd9e5ce9..777be410 100644 --- a/.config/nvim/lua/plugins/extras/lang/web/typescript-extended.lua +++ b/.config/nvim/lua/plugins/extras/lang/web/typescript-extended.lua @@ -64,11 +64,12 @@ return { referencesCodeLens = { enabled = true, showOnAllFunctions = true, + }, }, }, keys = { { - "co", + "cO", source_action("organizeImports"), desc = "Organize Imports", }, @@ -120,7 +121,7 @@ return { }, }, keys = { - { "co", ft = ft, "TSToolsOrganizeImports", desc = "Organize Imports" }, + { "cO", ft = ft, "TSToolsOrganizeImports", desc = "Organize Imports" }, { "cR", ft = ft, "TSToolsRemoveUnusedImports", desc = "Remove Unused Imports" }, { "cM", ft = ft, "TSToolsAddMissingImports", desc = "Add Missing Imports" }, },