set fixed tabstop
This commit is contained in:
parent
400134dd20
commit
d3e6a78d54
11
init.lua
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user