From 687e27f12af0e3dfc56fc24532c7241e48463c2b Mon Sep 17 00:00:00 2001 From: Sumanth Lingappa Date: Thu, 16 May 2024 13:51:48 +0530 Subject: [PATCH] added support if nvim extention is being used in vscode Signed-off-by: Sumanth Lingappa --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 88658ef3..c7b709c4 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,8 @@ +-- if this file is opened in a vscode, exit from here +if vim.g.vscode then + return +end + --[[ =====================================================================