diff --git a/init.lua b/init.lua index 2328ac1..caee4f4 100644 --- a/init.lua +++ b/init.lua @@ -72,7 +72,7 @@ require('lazy').setup({ 'tpope/vim-rhubarb', -- Detect tabstop and shiftwidth automatically - 'tpope/vim-sleuth', + -- 'tpope/vim-sleuth', -- NOTE: This is where your plugins related to LSP can be installed. -- The configuration is done below. Search for lspconfig to find it below. @@ -269,6 +269,15 @@ require 'colorizer'.setup { -- vim.cmd[[colorscheme tokyonight]] +-- tabstop etc +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.softtabstop = 4 +vim.opt.expandtab = false +vim.opt.smartindent = true +vim.opt.smarttab = true +vim.opt.autoindent = true +vim.opt.smartcase = true -- Set highlight on search vim.o.hlsearch = false