LoginSignup
1
1

More than 5 years have passed since last update.

neocomplete + vim-markdown で 「foldmethod=expr」エラーを解消

Posted at

neocompletevim-markdownを使っていて、filetype=markdownなファイルでインサートモードに入ると↓エラーが出る場合の対処

[neocomplete]   foldmethod=expr

対処方法

g:vim_markdown_folding_disabledを設定

.vimrcにlet g:vim_markdown_folding_disabled = 1を追記するか、dein.vim使ってるなら.tomlに↓みたいに設定

# markdown
[[plugins]]
repo = 'plasticboy/vim-markdown'
on_ft = 'markdown'
hook_add = '''
let g:vim_markdown_folding_disabled = 1
'''
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1