diff options
| author | jdhao <jdhao@hotmail.com> | 2020-09-24 23:01:10 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-09-24 23:01:10 +0800 |
| commit | 00cbed4cdcd17d0e1f6587aed92144cc6634349c (patch) | |
| tree | 1944ac74e74d44b8dd31f3eac58874355fee5018 /after/ftplugin | |
| parent | b0d5b9765e0a400b9b1a50b3dc7d4f9399a95a55 (diff) | |
fix style issues as per vint
Diffstat (limited to 'after/ftplugin')
| -rw-r--r-- | after/ftplugin/markdown.vim | 2 | ||||
| -rw-r--r-- | after/ftplugin/vim.vim | 8 |
2 files changed, 5 insertions, 5 deletions
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 <buffer> <Plug>AddVimFootnote :<c-u>call markdownfootnotes#VimFootnotes('i')<CR> inoremap <buffer> <Plug>AddVimFootnote <C-O>:<c-u>call markdownfootnotes#VimFootnotes('i')<CR> 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 |
