~yerinalexey/dotfiles

3f119fc3fcf8bafdc37f81d0402a8768fec3bc61 — Alexey Yerin 5 months ago 958afc8
vis: add python ftdetect, drop expandtab for c++
1 files changed, 4 insertions(+), 5 deletions(-)

M vis/visrc.lua
M vis/visrc.lua => vis/visrc.lua +4 -5
@@ 13,10 13,10 @@ vis.ftdetect.filetypes.rust.cmd = {
	"set expandtab",
	"set tabwidth 4",
};
--vis.ftdetect.filetypes.python.cmd = {
--	"set expandtab",
--	"set tabwidth 4",
--};
vis.ftdetect.filetypes.python.cmd = {
	"set expandtab",
	"set tabwidth 4",
};
vis.ftdetect.filetypes.diff.ext = { "%.diff$", "%.patch$", "%.rej$" };
vis.ftdetect.filetypes["git-commit"] = {
	ext = { "^COMMIT_EDITMSG$" },


@@ 45,7 45,6 @@ vis.ftdetect.filetypes.css.cmd = {
	"set tabwidth 2",
};
vis.ftdetect.filetypes.cpp.cmd = {
	"set expandtab",
	"set tabwidth 4",
};
vis.ftdetect.filetypes.scheme.cmd = {