From 00cbed4cdcd17d0e1f6587aed92144cc6634349c Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 24 Sep 2020 23:01:10 +0800 Subject: fix style issues as per vint --- after/ftplugin/markdown.vim | 2 +- after/ftplugin/vim.vim | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'after/ftplugin') diff --git a/after/ftplugin/markdown.vim b/after/ftplugin/markdown.vim index da142f7..f640660 100644 --- a/after/ftplugin/markdown.vim +++ b/after/ftplugin/markdown.vim @@ -1,7 +1,7 @@ set concealcursor=c set synmaxcol=3000 " For long Chinese paragraphs -if exists(":FootnoteNumber") +if exists(':FootnoteNumber') nnoremap AddVimFootnote :call markdownfootnotes#VimFootnotes('i') inoremap AddVimFootnote :call markdownfootnotes#VimFootnotes('i') endif diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim index cac808f..efea738 100644 --- a/after/ftplugin/vim.vim +++ b/after/ftplugin/vim.vim @@ -9,7 +9,7 @@ set formatoptions-=r " focus is lost (see " https://github.com/tmux-plugins/vim-tmux-focus-events/issues/14) set foldmethod=expr foldlevel=0 foldlevelstart=-1 - \ foldexpr=utils#VimFolds(v:lnum) foldtext=utils#MyFoldText() + \ foldexpr=utils#VimFolds(v:lnum) foldtext=utils#MyFoldText() " Use :help command for keyword when pressing `K` in vim file, " see `:h K` and https://stackoverflow.com/q/15867323/6064933 @@ -17,8 +17,8 @@ set keywordprg=:help " Only define following variable if Auto-pairs plugin is used if &runtimepath =~? 'auto-pairs' - let b:AutoPairs = AutoPairsDefine({'<' : '>'}) + let b:AutoPairs = AutoPairsDefine({'<' : '>'}) - " Do not use `"` for vim script since `"` is also used for comment - let b:AutoPairs = {'(':')', '[':']', '{':'}', "'":"'", "`":"`", '<':'>'} + " Do not use `"` for vim script since `"` is also used for comment + let b:AutoPairs = {'(':')', '[':']', '{':'}', "'":"'", '`':'`', '<':'>'} endif -- cgit v1.2.3