From 9cb8398068d5eb0db9a028cd5db2f3334ef71771 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 7 Apr 2023 03:55:37 +0200 Subject: Enable vim modeline --- .vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 6ed80ec..1d52adc 100644 --- a/.vimrc +++ b/.vimrc @@ -99,8 +99,9 @@ set undolevels=200 " How many undos set undoreload=200 " number of lines to save for undo set fileformats+=mac " correct mac file format set tabpagemax=50 " Set the maximum number of tabs allowed -set modelines=0 " disable the modelines which i don't understand -set nomodeline " disable the modelines which i don't understand +set modeline " enable # vim: comments at file beginnings +set modelines=1 " enable # vim: filetype=filetype comments in files +" set nomodeline " disable the modelines set linebreak " Vim to wrap existing text as desired set nowrap " let Vim Wrap lines or leave them as long as they get set noeb vb t_vb= -- cgit v1.2.3