From b4aba6e5f636911b2cfd40bfc954e3c814beb077 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Fri, 31 Jan 2025 15:34:49 +0100 Subject: [PATCH] fix: remove python indent config --- lua/core/autocommands.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lua/core/autocommands.lua b/lua/core/autocommands.lua index e64f47d..85ad737 100644 --- a/lua/core/autocommands.lua +++ b/lua/core/autocommands.lua @@ -22,18 +22,6 @@ vim.api.nvim_create_autocmd("FileType", { end, }) -vim.api.nvim_create_autocmd("FileType", { - desc = "Setup python indent", - pattern = "python", - callback = function() - -- see :h ft-python-indent - vim.g.python_indent = { - open_paren = "shiftwidth()", - continue = "shiftwidth()", - } - end, -}) - vim.api.nvim_create_autocmd({ "BufReadPost" }, { desc = "Return cursor to last position when re-opening a buffer", pattern = "*",