X-Git-Url: https://git.madduck.net/etc/lazyvim.git/blobdiff_plain/0404d91de146ef355c287edcde9d012a028af1dc..0d13ce71e2a0f66f560af2eab64a258a3e8b09fb:/.config/lazyvim/ftplugin/python.lua diff --git a/.config/lazyvim/ftplugin/python.lua b/.config/lazyvim/ftplugin/python.lua deleted file mode 100644 index a420d50..0000000 --- a/.config/lazyvim/ftplugin/python.lua +++ /dev/null @@ -1,22 +0,0 @@ -vim.g.python_highlight_all = true - -vim.g.linelength = 88 -vim.b.textwidth = vim.g.linelength - -vim.b.sw = 4 -vim.b.sts = 4 -vim.b.autoindent = true - -vim.b.formatoptions = vim.opt.formatoptions + 'bl' - -vim.b.ale_linters = { "mypy", "ruff" } -vim.b.ale_fixers = { - "add_blank_lines_for_python_control_statements", - "ruff", - "ruff_format" -} - -vim.keymap.set('i', 't', [[import ipdb; ipdb.set_trace() # noqa: E402 E702 I001 # fmt: skip]]) - -vim.keymap.set('i', 'm', [[if __name__ == "__main__":import syssys.exit()i]]) -