fix: remove python indent config

This commit is contained in:
2025-01-31 15:34:49 +01:00
parent e1081625c5
commit b4aba6e5f6
-12
View File
@@ -22,18 +22,6 @@ vim.api.nvim_create_autocmd("FileType", {
end, 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" }, { vim.api.nvim_create_autocmd({ "BufReadPost" }, {
desc = "Return cursor to last position when re-opening a buffer", desc = "Return cursor to last position when re-opening a buffer",
pattern = "*", pattern = "*",