From 2f4509f1cd7b08af86e2cf2a49ad4a2cfe610c9f Mon Sep 17 00:00:00 2001 From: commandline Date: Tue, 6 Oct 2015 13:39:02 -0400 Subject: [PATCH] Add settings that keep surprising me by being off by default. --- javascript.vim | 3 +++ markdown.vim | 3 +++ 2 files changed, 6 insertions(+) diff --git a/javascript.vim b/javascript.vim index efa630d..07e5cb4 100644 --- a/javascript.vim +++ b/javascript.vim @@ -1 +1,4 @@ autocmd FileType javascript set fdm=indent +autocmd FileType javascript set smarttab +autocmd FileType javascript set smartindent +autocmd FileType javascript set spell diff --git a/markdown.vim b/markdown.vim index 44da17f..a2f67ac 100644 --- a/markdown.vim +++ b/markdown.vim @@ -4,3 +4,6 @@ autocmd filetype markdown set expandtab autocmd filetype markdown set nolinebreak autocmd filetype markdown set fdm=indent autocmd filetype markdown set tw=0 +autocmd filetype markdown set smarttab +autocmd filetype markdown set smartindent +autocmd FileType javascript set spell