vim: add option for filetype plugins

master
an 2019-07-31 20:56:35 -04:00
parent 12504c93e8
commit 0cda7de21b
2 changed files with 17 additions and 10 deletions

View File

@ -1,10 +1,13 @@
" vim: syntax=vim:
let _agw.columns=80 " GUI columns
let _agw.rows=24 " GUI rows
let _agw.cr_scheme=-1 " color from s:colors, -1=random, -2=default
let _agw.use_number=1 " 0=no number, 1=enable relativenumber, 2=enable number
let _agw.use_list=1 " enable whitespace visibility (2=also newlines)
let _agw.use_tagbar=0 " enable tagbar addon
let _agw.use_vsp=0 " enable vertical split on enter
let _agw.use_ruby=1 " enable vertical split on enter
let _agw.columns=80
let _agw.rows=24
let _agw.cr_scheme=-1
let _agw.use_number=1
let _agw.use_list=1
let _agw.use_tagbar=0
let _agw.use_vsp=0
let _agw.use_ruby=1
let _agw.use_ft=1
" EOF

View File

@ -57,6 +57,7 @@ let _agw.use_tagbar=0 " enable tagbar addon
let _agw.use_vsp=0 " enable vertical split on enter
let _agw.use_ruby=0 " enable ruby scripts
let _agw.use_rainbow=0 " enable rainbow addon
let _agw.use_ft=0 " enable filetype plugins
runtime! vconf
@ -360,8 +361,11 @@ elseif _agw.cr_scheme != -1
endif
filetype on
filetype plugin on
filetype indent on
if _agw.use_ft == 1
filetype plugin on
filetype indent on
end
" Commands -------------------------------------------------------------------|