Discussion:
[OpenWrt-Users] [PATCH] vim vim-full
joerg jungermann
2008-06-02 20:02:27 UTC
Permalink
Hi,

the attached patch fixes two syntactical errors in the
/usr/share/vim/vimrc with vim-full. It also disables syntax highlighting
because of slowness on small devices, it doesn't work either without
vim-runtime. If one want he/she should enable it IMO him/herself.

Index: vimrc.full
===================================================================
- --- vimrc.full (revision 11331)
+++ vimrc.full (working copy)
@@ -3,7 +3,7 @@
set ignorecase " Do case insensitive matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next
- -and :make
+"and :make
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
set autoindent " always set autoindenting on
@@ -20,4 +20,5 @@
set t_Sf=<Esc>[3%dm
set t_Sb=<Esc>[4%dm
endif
- - syn on
+ syn off
+endif

- --
Joerg Jungermann
- ------------------------------------------------------------
Rechnerbetrieb Mathematik | Zustaendig fuer:
Universitaet-Paderborn - Fakultaet 5 | Linux, Web
Gregers Petersen
2008-06-03 05:17:23 UTC
Permalink
Patches should be posted on the -devel list ;)
Post by joerg jungermann
Hi,
the attached patch fixes two syntactical errors in the
/usr/share/vim/vimrc with vim-full. It also disables syntax highlighting
because of slowness on small devices, it doesn't work either without
vim-runtime. If one want he/she should enable it IMO him/herself.
Index: vimrc.full
===================================================================
--- vimrc.full (revision 11331)
+++ vimrc.full (working copy)
@@ -3,7 +3,7 @@
set ignorecase " Do case insensitive matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next
-and :make
+"and :make
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
set autoindent " always set autoindenting on
@@ -20,4 +20,5 @@
set t_Sf=<Esc>[3%dm
set t_Sb=<Esc>[4%dm
endif
- syn on
+ syn off
+endif
_______________________________________________
openwrt-users mailing list
openwrt-users at lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
--
Gregers Petersen, Anthropologist
gregers at wireless-ownership.org
www.wireless-ownership.org
glp at jabber.dk
Loading...