aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorCrony Akatsuki <crony@cronyakatsuki.xyz>2025-11-08 18:15:07 +0100
committerCrony Akatsuki <crony@cronyakatsuki.xyz>2025-11-08 18:15:07 +0100
commitad595eced9f142165e0407e866e93affc7ea25bf (patch)
treea23271c7cb923505f36d9521eb8e0cb36d74d932 /lua
parent796131ba16b83978d92081b971abb51b269a767a (diff)
downloadnvim-ad595eced9f142165e0407e866e93affc7ea25bf.zip
nvim-ad595eced9f142165e0407e866e93affc7ea25bf.tar.gz
feat: disable smart indenting.
Diffstat (limited to 'lua')
-rw-r--r--lua/config/settings.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/config/settings.lua b/lua/config/settings.lua
index 23a16f2..00fca50 100644
--- a/lua/config/settings.lua
+++ b/lua/config/settings.lua
@@ -20,7 +20,7 @@ vim.opt.laststatus = 3
-- setup tabs and indenting
vim.opt.expandtab = true
-vim.opt.smartindent = true
+vim.opt.smartindent = false
vim.opt.autoindent = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
@@ -76,7 +76,6 @@ vim.opt.ttimeoutlen = 0
vim.opt.hidden = true
vim.opt.errorbells = false
vim.opt.backspace = "indent,eol,start"
-vim.opt.autochdir = false
vim.opt.iskeyword:append("-") -- treat dash as part of the word
vim.opt.path:append("**") -- include subdirectories in search
vim.opt.modifiable = true