From 052c5234664199a73d5dd37e6fa15d62935d588e Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 6 Apr 2023 12:08:24 -0400 Subject: [PATCH] make tabs 4 spaces --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 6c7a701..6637500 100644 --- a/init.lua +++ b/init.lua @@ -67,3 +67,7 @@ vim.api.nvim_set_keymap('n', '', '5-', { silent = true }) vim.api.nvim_set_keymap('n', '', '10>', { silent = true }) vim.api.nvim_set_keymap('n', '', '10<', { silent = true }) +-- Set the tab width to 4 spaces +vim.cmd('set tabstop=4') +vim.cmd('set shiftwidth=4') +vim.cmd('set expandtab')