From fd71d558f761804a0fbebb29b2300f38e000c24f Mon Sep 17 00:00:00 2001 From: Laily Date: Tue, 11 Oct 2022 10:51:59 +0800 Subject: [PATCH] fix: modify tsx sw --- nvim/ftplugin/typescriptreact.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 nvim/ftplugin/typescriptreact.lua diff --git a/nvim/ftplugin/typescriptreact.lua b/nvim/ftplugin/typescriptreact.lua new file mode 100644 index 0000000..2634b42 --- /dev/null +++ b/nvim/ftplugin/typescriptreact.lua @@ -0,0 +1,2 @@ +vim.cmd('set ts=2') -- Insert 2 spaces for a tab +vim.cmd('set sw=2') -- Change the number of space characters inserted for indentation