Merge pull request #1348 from FlorianFieber/vim
vim: Fix editing crontabs with crontab -e
This commit is contained in:
commit
14d0753e97
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=vim
|
PKG_NAME:=vim
|
||||||
PKG_VERSION:=7.4
|
PKG_VERSION:=7.4
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
VIMVER:=74
|
VIMVER:=74
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
|
|
@ -9,3 +9,4 @@ set linebreak " don't wrap words by default
|
||||||
set textwidth=0 " don't wrap lines by default
|
set textwidth=0 " don't wrap lines by default
|
||||||
set ruler " show the cursor position all the time
|
set ruler " show the cursor position all the time
|
||||||
|
|
||||||
|
set backupskip+=/etc/crontabs.* " fix crontab -e
|
||||||
|
|
|
@ -9,6 +9,8 @@ set linebreak " don't wrap words by default
|
||||||
set textwidth=0 " don't wrap lines by default
|
set textwidth=0 " don't wrap lines by default
|
||||||
set ruler " show the cursor position all the time
|
set ruler " show the cursor position all the time
|
||||||
|
|
||||||
|
set backupskip+=/etc/crontabs.* " fix crontab -e
|
||||||
|
|
||||||
if filereadable(expand("$VIMRUNTIME/syntax/synload.vim"))
|
if filereadable(expand("$VIMRUNTIME/syntax/synload.vim"))
|
||||||
syntax on
|
syntax on
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue