From 2c54ee721d3a67f2ddfb1bb826ea96633f33c3a9 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 25 Aug 2024 21:24:24 -0700 Subject: [PATCH] disable smartindent --- init.lua | 3 +++ lua/plugins/treesitter.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1cde3e3..f31275b 100644 --- a/init.lua +++ b/init.lua @@ -47,6 +47,9 @@ else -- Enable break indent vim.o.breakindent = true + -- smart indenting + vim.o.smartindent = false + -- Save undo history vim.o.undofile = true diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index f8cee9f..cfc5538 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -58,7 +58,7 @@ return { auto_install = true, highlight = { enable = true }, - indent = { enable = true, disable = { "python" } }, + indent = { enable = true }, incremental_selection = { enable = true, keymaps = { -- 2.46.1