fix: remove python indent config
This commit is contained in:
@@ -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 = "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user