set fixed tabstop

This commit is contained in:
Mans Ziesel 2024-01-23 20:02:59 +01:00
parent 400134dd20
commit d3e6a78d54

View File

@ -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