diff --git a/lua/configs/lazy.lua b/lua/configs/lazy.lua index cd170bd..c1ecf95 100644 --- a/lua/configs/lazy.lua +++ b/lua/configs/lazy.lua @@ -40,7 +40,6 @@ return { "optwin", "compiler", "bugreport", - "ftplugin", }, }, }, diff --git a/lua/options.lua b/lua/options.lua index dc7aed8..0ce0261 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -76,7 +76,7 @@ local opt = { wrapmargin = 0, -- No margin for wrapping tabstop = 4, -- 2 spaces per tab shiftwidth = 0, -- Match tabstop - expandtab = true, -- Use spaces for tabs + expandtab = false, -- Use spaces for tabs autoindent = true, -- Maintain indent level ------------------- @@ -119,4 +119,4 @@ end -- Apply editor options for k, v in pairs(opt) do vim.opt[k] = v -end \ No newline at end of file +end diff --git a/pero.vim b/pero.vim index 00c6a57..e8b7062 100644 --- a/pero.vim +++ b/pero.vim @@ -16,6 +16,10 @@ set hlsearch set foldmethod=indent set history=1000 set nofoldenable +set autoindent +set tabstop=4 +set shiftwidth=4 +set noexpandtab let @q = 'GpA ^[' let @w = 'Gpo^['