Skip to content

Commit

Permalink
lvim: Fix a bug related to indentation issues in Python
Browse files Browse the repository at this point in the history
  • Loading branch information
mkdir700 committed Mar 11, 2023
1 parent 1385f24 commit 42a072f
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 127 deletions.
10 changes: 9 additions & 1 deletion dot_config/lvim/lua/user/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,20 @@ M.config = function()
})
end,
},
-- 清除未使用的库
-- Python 清除未使用的库
{
"tenfyzhong/autoflake.vim",
ft = { "python", "py", "pyi" },
run = "pip install autoflake",
},
-- Python 清除多余的空格
-- resovle: https://github.com/mkdir700/dotfiles/issues/4
{
"Vimjas/vim-python-pep8-indent",
config = function()
vim.g.python_pep8_indent = 1
end,
},
--------------
-- 文件操作 --
--------------
Expand Down
Loading

0 comments on commit 42a072f

Please sign in to comment.