From 651fef5fac8f370ce9e553d59f1b7832b277017f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jul 2024 16:44:04 -0300 Subject: Fix: move back from vim-markdown to vim-markdown-folding --- vim.dot.link/filetype.vim | 20 ++++++++++---------- vim.dot.link/pack/preservim/opt/vim-markdown | 1 + vim.dot.link/pack/preservim/start/vim-markdown | 1 - vim.dot.link/pack/rafkaplon/opt/vim-markdown-folding | 1 - .../pack/rafkaplon/start/vim-markdown-folding | 1 + 5 files changed, 12 insertions(+), 12 deletions(-) create mode 160000 vim.dot.link/pack/preservim/opt/vim-markdown delete mode 160000 vim.dot.link/pack/preservim/start/vim-markdown delete mode 160000 vim.dot.link/pack/rafkaplon/opt/vim-markdown-folding create mode 160000 vim.dot.link/pack/rafkaplon/start/vim-markdown-folding (limited to 'vim.dot.link') diff --git a/vim.dot.link/filetype.vim b/vim.dot.link/filetype.vim index 522d674..9ab8afd 100644 --- a/vim.dot.link/filetype.vim +++ b/vim.dot.link/filetype.vim @@ -16,18 +16,18 @@ augroup markdown " " Seem like this things should be set during BufRead or BufNewFile; they're " not working when set during the FileType event. - "autocmd! - "autocmd BufRead,BufNewFile *.md set filetype=markdown foldexpr=NestedMarkdownFolds() autoindent smartindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab formatoptions=tcroqn2 comments=n:> - "autocmd BufRead,BufNewFile *.mdwn set filetype=ikiwiki foldexpr=NestedMarkdownFolds() + autocmd! + autocmd BufRead,BufNewFile *.md set filetype=markdown foldexpr=NestedMarkdownFolds() autoindent smartindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab formatoptions=tcroqn2 comments=n:> + autocmd BufRead,BufNewFile *.mdwn set filetype=ikiwiki foldexpr=NestedMarkdownFolds() " Markdown configuration with vim-markdown plugin - autocmd! - autocmd BufRead,BufNewFile *.md set autoindent smartindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab formatoptions=tcroqn2 comments=n:> - let g:vim_markdown_new_list_item_indent = 2 - let g:vim_markdown_folding_style_pythonic = 1 - let g:vim_markdown_folding_level = 1 - let g:vim_markdown_auto_insert_bullets = 0 - let g:vim_markdown_new_list_item_indent = 0 + "autocmd! + "autocmd BufRead,BufNewFile *.md set autoindent smartindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab formatoptions=tcroqn2 comments=n:> + "let g:vim_markdown_new_list_item_indent = 2 + "let g:vim_markdown_folding_style_pythonic = 1 + "let g:vim_markdown_folding_level = 1 + "let g:vim_markdown_auto_insert_bullets = 0 + "let g:vim_markdown_new_list_item_indent = 0 augroup END " Python diff --git a/vim.dot.link/pack/preservim/opt/vim-markdown b/vim.dot.link/pack/preservim/opt/vim-markdown new file mode 160000 index 0000000..a657e69 --- /dev/null +++ b/vim.dot.link/pack/preservim/opt/vim-markdown @@ -0,0 +1 @@ +Subproject commit a657e697376909c41475a686eeef7fc7a4972d94 diff --git a/vim.dot.link/pack/preservim/start/vim-markdown b/vim.dot.link/pack/preservim/start/vim-markdown deleted file mode 160000 index a657e69..0000000 --- a/vim.dot.link/pack/preservim/start/vim-markdown +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a657e697376909c41475a686eeef7fc7a4972d94 diff --git a/vim.dot.link/pack/rafkaplon/opt/vim-markdown-folding b/vim.dot.link/pack/rafkaplon/opt/vim-markdown-folding deleted file mode 160000 index 7d223be..0000000 --- a/vim.dot.link/pack/rafkaplon/opt/vim-markdown-folding +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7d223be1adfa0e14c3930ac4aab9dc2594acf4cb diff --git a/vim.dot.link/pack/rafkaplon/start/vim-markdown-folding b/vim.dot.link/pack/rafkaplon/start/vim-markdown-folding new file mode 160000 index 0000000..7d223be --- /dev/null +++ b/vim.dot.link/pack/rafkaplon/start/vim-markdown-folding @@ -0,0 +1 @@ +Subproject commit 7d223be1adfa0e14c3930ac4aab9dc2594acf4cb -- cgit v1.2.3