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