From 58c1b6cbd8236cae6980f137d5669941f2c6a6ab Mon Sep 17 00:00:00 2001 From: wunewww <55101139+wunewww@users.noreply.github.com> Date: Sun, 5 May 2024 17:19:11 +0800 Subject: [PATCH] Specifiy fixers for Markdown --- README.md | 2 ++ ftplugin/markdown.vim | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 ftplugin/markdown.vim diff --git a/README.md b/README.md index 205c85a..8741c34 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ This is wuniu's vim settings. This file describes wuniu's editing experience. After installing / adding a new pack with `doc/` inside. Generate doc tags using `packloadall | silent! helptags ALL`, which will regenerate all tags of docs. +[link] + ## Reloading `vimrc` File After editing vimrc file, one can execute it by `:so $MYVIMRC`. But this will diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim new file mode 100644 index 0000000..ecdb7ce --- /dev/null +++ b/ftplugin/markdown.vim @@ -0,0 +1,4 @@ +" markdown filetype setttings +" +" ale fixer and lsp etc. +let b:ale_fixers = ['pandoc', 'remove_trailing_lines', 'trim_whitespace']