Skip to content

Commit

Permalink
plugin/magit.vim: disable modeline for magit buffer
Browse files Browse the repository at this point in the history
ref #120
  • Loading branch information
jreybert committed Feb 24, 2017
1 parent ed36a0f commit 702cff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/magit.vim
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ function! magit#show_magit(display, ...)
setlocal foldmethod=syntax
setlocal foldnestmax=20
setlocal nobuflisted
setlocal nomodeline
let &l:foldlevel = b:magit_default_fold_level
setlocal filetype=magit

Expand Down

0 comments on commit 702cff8

Please sign in to comment.