瀏覽代碼

correct use of tabs for plugins

Kevin Heinicke 10 年之前
父節點
當前提交
4bc3946969
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      .vim/after/ftplugin/tex.vim
  2. 2 2
      .vim/snippets/cpp.snippets

+ 2 - 0
.vim/after/ftplugin/tex.vim

@@ -0,0 +1,2 @@
+setlocal shiftwidth=4
+setlocal tabstop=4

+ 2 - 2
.vim/snippets/cpp.snippets

@@ -2,8 +2,8 @@
 # main
 snippet main
 	int main(int argc, char* argv[]){
-	  ${1}
-	  return 0;
+		${1}
+		return 0;
 	}
 # std::cout
 snippet cout