diff options
Diffstat (limited to 'vim.dot.link/filetype.vim')
-rw-r--r-- | vim.dot.link/filetype.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vim.dot.link/filetype.vim b/vim.dot.link/filetype.vim index 68c9bba..7284bd7 100644 --- a/vim.dot.link/filetype.vim +++ b/vim.dot.link/filetype.vim @@ -34,7 +34,7 @@ augroup filetypedetect " This handling is disabled by default, since it may be conflicting " with something. " - " Markdown folding through NestedMarkdownFolds() are not correctly working + " Markdown folding through NestedMarkdownFolds() is not working correctly " with this configuration. " " Maybe what's happenning is that setting the "markdown" filetype @@ -54,10 +54,10 @@ augroup END " won't be correctly applied in some Markdown files loaded in new windows. augroup filetype_markdown autocmd! - "autocmd BufRead,BufNewFile,BufEnter *.md set foldexpr=NestedMarkdownFolds() - "autocmd BufRead,BufNewFile,BufEnter *.md set autoindent smartindent - "autocmd BufRead,BufNewFile,BufEnter *.md set formatoptions=tcroqn2 comments=n:> - autocmd BufRead,BufNewFile,BufEnter *.md set tabstop=2 softtabstop=2 shiftwidth=2 expandtab + "autocmd BufRead,BufNewFile,BufEnter *.md setlocal foldexpr=NestedMarkdownFolds() + "autocmd BufRead,BufNewFile,BufEnter *.md setlocal autoindent smartindent + "autocmd BufRead,BufNewFile,BufEnter *.md setlocal formatoptions=tcroqn2 comments=n:> + autocmd BufRead,BufNewFile,BufEnter *.md setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab augroup END " }}} |