X-Git-Url: https://git.madduck.net/etc/lazyvim.git/blobdiff_plain/0d13ce71e2a0f66f560af2eab64a258a3e8b09fb..9a8592bb215723461397a674ed7926442fae6409:/.config/lazyvim/after/ftplugin/python.lua diff --git a/.config/lazyvim/after/ftplugin/python.lua b/.config/lazyvim/after/ftplugin/python.lua index a420d50..376b877 100644 --- a/.config/lazyvim/after/ftplugin/python.lua +++ b/.config/lazyvim/after/ftplugin/python.lua @@ -1,13 +1,13 @@ vim.g.python_highlight_all = true vim.g.linelength = 88 -vim.b.textwidth = vim.g.linelength +vim.opt_local.textwidth = vim.g.linelength -vim.b.sw = 4 -vim.b.sts = 4 -vim.b.autoindent = true +vim.opt_local.sw = 4 +vim.opt_local.sts = 4 +vim.opt_local.autoindent = true -vim.b.formatoptions = vim.opt.formatoptions + 'bl' +vim.opt_local.formatoptions = vim.opt.formatoptions + "bl" vim.b.ale_linters = { "mypy", "ruff" } vim.b.ale_fixers = {