Only use spaces instead of tabs for python files
This commit is contained in:
parent
48bee7cb27
commit
d54ba8d8c6
@ -1,4 +1,3 @@
|
||||
vim.g.cino = "N-s"
|
||||
vim.o.textwidth = 80
|
||||
|
||||
vim.g.cpp_attributes_highlight = true
|
||||
|
||||
6
ftplugin/python.lua
Normal file
6
ftplugin/python.lua
Normal file
@ -0,0 +1,6 @@
|
||||
vim.o.textwidth = 80
|
||||
vim.o.expandtab = true
|
||||
|
||||
-- remove white spaces at end of line
|
||||
vim.api.nvim_create_autocmd({'BufWritePre'}, {command = '%s;\\s\\+$;;e'})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user