Permalink
Browse files

updated for version 7.0g

  • Loading branch information...
1 parent 9822bf3 commit c7c94432ed94b395fe7d1dec63ba21111f0dd769 vimboss committed Apr 30, 2006
Showing with 3,471 additions and 3,075 deletions.
  1. +4 −4 Contents
  2. +1 −1 Makefile
  3. +1 −1 README.txt
  4. +1 −1 README_ami.txt
  5. +1 −1 README_amibin.txt
  6. +1 −1 README_amisrc.txt
  7. +1 −1 README_bindos.txt
  8. +1 −1 README_dos.txt
  9. +1 −1 README_extra.txt
  10. +1 −1 README_lang.txt
  11. +1 −1 README_mac.txt
  12. +1 −1 README_ole.txt
  13. +1 −1 README_os2.txt
  14. +1 −1 README_os390.txt
  15. +1 −1 README_src.txt
  16. +1 −1 README_srcdos.txt
  17. +1 −1 README_unix.txt
  18. +9 −9 README_vms.txt
  19. +1 −1 README_w32s.txt
  20. +1 −1 nsis/gvim.nsi
  21. +4 −4 runtime/autoload/csscomplete.vim
  22. +9 −9 runtime/autoload/htmlcomplete.vim
  23. +2 −2 runtime/autoload/javascriptcomplete.vim
  24. +37 −37 runtime/autoload/phpcomplete.vim
  25. +3 −3 runtime/autoload/xmlcomplete.vim
  26. +3 −3 runtime/colors/darkblue.vim
  27. +20 −20 runtime/colors/delek.vim
  28. +1 −1 runtime/doc/arabic.txt
  29. +11 −11 runtime/doc/autocmd.txt
  30. +3 −3 runtime/doc/change.txt
  31. +2 −2 runtime/doc/cmdline.txt
  32. +3 −3 runtime/doc/debug.txt
  33. +1 −1 runtime/doc/debugger.txt
  34. +1 −1 runtime/doc/develop.txt
  35. +1 −1 runtime/doc/diff.txt
  36. +1 −1 runtime/doc/digraph.txt
  37. +4 −4 runtime/doc/editing.txt
  38. +24 −23 runtime/doc/eval.txt
  39. +1 −1 runtime/doc/farsi.txt
  40. +1 −1 runtime/doc/filetype.txt
  41. +1 −1 runtime/doc/fold.txt
  42. +57 −57 runtime/doc/getscript.txt
  43. +1 −1 runtime/doc/gui.txt
  44. +1 −1 runtime/doc/gui_w16.txt
  45. +1 −1 runtime/doc/gui_w32.txt
  46. +2 −2 runtime/doc/gui_x11.txt
  47. +1 −1 runtime/doc/hangulin.txt
  48. +1 −1 runtime/doc/hebrew.txt
  49. +6 −6 runtime/doc/help.txt
  50. +1 −1 runtime/doc/howto.txt
  51. +1 −1 runtime/doc/if_cscop.txt
  52. +5 −5 runtime/doc/if_mzsch.txt
  53. +5 −5 runtime/doc/if_ole.txt
  54. +1 −1 runtime/doc/if_perl.txt
  55. +3 −3 runtime/doc/if_pyth.txt
  56. +2 −2 runtime/doc/if_ruby.txt
  57. +1 −1 runtime/doc/if_sniff.txt
  58. +1 −1 runtime/doc/if_tcl.txt
  59. +3 −3 runtime/doc/indent.txt
  60. +3 −3 runtime/doc/index.txt
  61. +10 −10 runtime/doc/insert.txt
  62. +1 −1 runtime/doc/intro.txt
  63. +28 −22 runtime/doc/map.txt
  64. +4 −4 runtime/doc/mbyte.txt
  65. +3 −3 runtime/doc/message.txt
  66. +1 −1 runtime/doc/mlang.txt
  67. +11 −5 runtime/doc/motion.txt
  68. +1 −1 runtime/doc/netbeans.txt
  69. +14 −14 runtime/doc/options.txt
  70. +1 −1 runtime/doc/os_390.txt
  71. +1 −1 runtime/doc/os_amiga.txt
  72. +1 −1 runtime/doc/os_beos.txt
  73. +1 −1 runtime/doc/os_dos.txt
  74. +2 −2 runtime/doc/os_mac.txt
  75. +1 −1 runtime/doc/os_mint.txt
  76. +1 −1 runtime/doc/os_msdos.txt
  77. +1 −1 runtime/doc/os_os2.txt
  78. +1 −1 runtime/doc/os_qnx.txt
  79. +1 −1 runtime/doc/os_risc.txt
  80. +1 −1 runtime/doc/os_unix.txt
  81. +9 −9 runtime/doc/os_vms.txt
  82. +1 −1 runtime/doc/os_win32.txt
  83. +3 −3 runtime/doc/pattern.txt
  84. +1 −1 runtime/doc/pi_gzip.txt
  85. +110 −110 runtime/doc/pi_netrw.txt
  86. +1 −1 runtime/doc/pi_paren.txt
  87. +1 −1 runtime/doc/pi_spec.txt
  88. +14 −14 runtime/doc/pi_tar.txt
  89. +10 −10 runtime/doc/pi_vimball.txt
  90. +7 −7 runtime/doc/pi_zip.txt
  91. +11 −11 runtime/doc/print.txt
  92. +4 −4 runtime/doc/quickfix.txt
  93. +320 −320 runtime/doc/quickref.txt
  94. +1 −1 runtime/doc/quotes.txt
  95. +1 −1 runtime/doc/recover.txt
  96. +9 −9 runtime/doc/remote.txt
  97. +7 −7 runtime/doc/repeat.txt
  98. +1 −1 runtime/doc/rileft.txt
  99. +1 −1 runtime/doc/russian.txt
  100. +1 −1 runtime/doc/scroll.txt
  101. +1 −1 runtime/doc/sign.txt
  102. +16 −16 runtime/doc/spell.txt
  103. +2 −2 runtime/doc/sponsor.txt
  104. +296 −296 runtime/doc/sql.txt
  105. +1 −1 runtime/doc/starting.txt
  106. +12 −12 runtime/doc/syntax.txt
  107. +1 −1 runtime/doc/tabpage.txt
  108. +1 −1 runtime/doc/tagsrch.txt
  109. +3 −3 runtime/doc/term.txt
  110. +3 −3 runtime/doc/tips.txt
  111. +5 −8 runtime/doc/todo.txt
  112. +292 −0 runtime/doc/uganda.nsis.txt
  113. +1 −1 runtime/doc/uganda.txt
  114. +3 −3 runtime/doc/undo.txt
  115. +1 −1 runtime/doc/usr_01.txt
  116. +1 −1 runtime/doc/usr_02.txt
  117. +1 −1 runtime/doc/usr_03.txt
  118. +1 −1 runtime/doc/usr_04.txt
  119. +1 −1 runtime/doc/usr_05.txt
  120. +1 −1 runtime/doc/usr_06.txt
  121. +1 −1 runtime/doc/usr_07.txt
  122. +17 −17 runtime/doc/usr_08.txt
  123. +1 −1 runtime/doc/usr_09.txt
  124. +1 −1 runtime/doc/usr_10.txt
  125. +1 −1 runtime/doc/usr_11.txt
  126. +1 −1 runtime/doc/usr_12.txt
  127. +1 −1 runtime/doc/usr_20.txt
  128. +1 −1 runtime/doc/usr_21.txt
  129. +1 −1 runtime/doc/usr_22.txt
  130. +1 −1 runtime/doc/usr_23.txt
  131. +1 −1 runtime/doc/usr_24.txt
  132. +1 −1 runtime/doc/usr_25.txt
  133. +1 −1 runtime/doc/usr_26.txt
  134. +1 −1 runtime/doc/usr_27.txt
  135. +1 −1 runtime/doc/usr_28.txt
  136. +1 −1 runtime/doc/usr_29.txt
  137. +1 −1 runtime/doc/usr_30.txt
  138. +1 −1 runtime/doc/usr_31.txt
  139. +12 −12 runtime/doc/usr_32.txt
  140. +1 −1 runtime/doc/usr_40.txt
  141. +14 −14 runtime/doc/usr_41.txt
  142. +1 −1 runtime/doc/usr_42.txt
  143. +1 −1 runtime/doc/usr_43.txt
  144. +1 −1 runtime/doc/usr_44.txt
  145. +1 −1 runtime/doc/usr_45.txt
  146. +1 −1 runtime/doc/usr_90.txt
  147. +1 −1 runtime/doc/usr_toc.txt
  148. +1 −1 runtime/doc/various.txt
  149. +1 −1 runtime/doc/version4.txt
  150. +1 −1 runtime/doc/version5.txt
  151. +2 −2 runtime/doc/version6.txt
  152. +23 −15 runtime/doc/version7.txt
  153. +1 −1 runtime/doc/vi_diff.txt
  154. +3 −3 runtime/doc/vim-fr.1
  155. +3 −3 runtime/doc/vim-fr.UTF-8.1
  156. +2 −2 runtime/doc/vim-it.1
  157. +2 −2 runtime/doc/vim-it.UTF-8.1
  158. +2 −2 runtime/doc/vimtutor-fr.1
  159. +2 −2 runtime/doc/vimtutor-fr.UTF-8.1
  160. +1 −1 runtime/doc/visual.txt
  161. +1 −1 runtime/doc/windows.txt
  162. +1 −1 runtime/doc/workshop.txt
  163. +2 −2 runtime/doc/xxd-fr.1
  164. +2 −2 runtime/doc/xxd-fr.UTF-8.1
  165. +1 −1 runtime/doc/xxd-it.UTF-8.1
  166. +2 −2 runtime/filetype.vim
  167. +3 −3 runtime/ftplugin.vim
  168. +1 −1 runtime/ftplugin/flexwiki.vim
  169. +3 −3 runtime/ftplugin/matlab.vim
  170. +1 −1 runtime/ftplugin/scheme.vim
  171. +1 −1 runtime/indent/GenericIndent.vim
  172. +44 −44 runtime/indent/ada.vim
  173. +1 −1 runtime/indent/automake.vim
  174. +4 −4 runtime/indent/ch.vim
  175. +2 −2 runtime/indent/cmake.vim
  176. +5 −5 runtime/indent/config.vim
  177. +9 −9 runtime/indent/css.vim
  178. +1 −1 runtime/indent/docbk.vim
  179. +1 −1 runtime/indent/eterm.vim
  180. +1 −1 runtime/indent/html.vim
  181. +81 −81 runtime/indent/make.vim
  182. +7 −7 runtime/indent/mma.vim
  183. +1 −1 runtime/indent/mupad.vim
  184. +7 −7 runtime/indent/ocaml.vim
  185. +18 −18 runtime/indent/php.vim
  186. +2 −2 runtime/indent/python.vim
  187. +1 −1 runtime/indent/readline.vim
  188. +2 −2 runtime/indent/rst.vim
  189. +4 −4 runtime/indent/sh.vim
  190. +3 −3 runtime/indent/sql.vim
  191. +23 −23 runtime/indent/sqlanywhere.vim
  192. +6 −6 runtime/indent/tcl.vim
  193. +1 −1 runtime/indent/xf86conf.vim
  194. +1 −1 runtime/indent/yacc.vim
  195. +1 −1 runtime/indent/zsh.vim
  196. +1 −1 runtime/keymap/greek_cp737.vim
  197. +1 −1 runtime/keymap/greek_utf-8.vim
  198. +6 −6 runtime/keymap/kana.vim
  199. +1 −1 runtime/keymap/polish-slash.vim
  200. +1 −1 runtime/keymap/polish-slash_cp1250.vim
  201. +1 −1 runtime/keymap/polish-slash_cp852.vim
  202. +1 −1 runtime/keymap/polish-slash_iso-8859-2.vim
  203. +1 −1 runtime/keymap/polish-slash_utf-8.vim
  204. +1 −1 runtime/keymap/tamil_tscii.vim
  205. +3 −3 runtime/lang/menu_de_de.latin1.vim
  206. +2 −2 runtime/lang/menu_fr_fr.latin1.vim
  207. +1 −1 runtime/lang/menu_pl_pl.utf-8.vim
  208. +1 −1 runtime/macmap.vim
  209. +3 −3 runtime/macros/editexisting.vim
  210. +18 −18 runtime/syntax/2html.vim
  211. +1 −1 runtime/syntax/chordpro.vim
  212. +2 −2 runtime/syntax/d.vim
  213. +2 −2 runtime/syntax/eviews.vim
  214. +3 −3 runtime/syntax/gretl.vim
  215. +4 −4 runtime/syntax/java.vim
  216. +1 −1 runtime/syntax/mush.vim
  217. +1 −1 runtime/syntax/r.vim
  218. +2 −2 runtime/syntax/sql.vim
  219. +3 −3 runtime/syntax/synload.vim
  220. +4 −4 runtime/syntax/wsml.vim
  221. +5 −5 runtime/tutor/tutor.pl
  222. +5 −5 runtime/tutor/tutor.pl.cp1250
  223. +5 −5 runtime/tutor/tutor.pl.utf-8
  224. +60 −60 runtime/tutor/tutor.sk
  225. +60 −60 runtime/tutor/tutor.sk.cp1250
  226. +2 −2 src/GvimExt/GvimExt.reg
  227. +2 −2 src/INSTALLmac.txt
  228. +15 −15 src/INSTALLpc.txt
  229. +2 −2 src/INSTALLvms.txt
  230. +4 −4 src/Make_bc5.mak
  231. +2 −2 src/Make_cyg.mak
  232. +3 −3 src/Make_vms.mms
  233. +4 −4 src/Makefile
  234. +14 −14 src/auto/configure
  235. +19 −19 src/configure.in
  236. +1 −1 src/eval.c
  237. +5 −0 src/ex_docmd.c
  238. +1 −1 src/ex_getln.c
  239. +3 −3 src/fileio.c
  240. +15 −0 src/getchar.c
  241. +1 −0 src/globals.h
  242. +2 −2 src/gui.c
  243. +8 −8 src/gui_gtk.c
  244. +68 −69 src/gui_gtk_x11.c
  245. +6 −6 src/gui_mac.c
  246. +6 −6 src/gui_motif.c
  247. +19 −18 src/gui_w32.c
  248. +41 −41 src/gui_xmebw.c
  249. +547 −547 src/hardcopy.c
  250. +36 −35 src/if_mzsch.c
  251. +22 −22 src/if_python.c
  252. +15 −15 src/if_ruby.c
  253. +8 −8 src/installman.sh
  254. +14 −14 src/installml.sh
  255. +3 −3 src/mbyte.c
  256. +7 −7 src/menu.c
  257. +5 −5 src/message.c
  258. +4 −4 src/misc1.c
  259. +5 −1 src/ops.c
  260. +67 −67 src/proto/buffer.pro
  261. +54 −54 src/proto/charset.pro
  262. +54 −54 src/proto/ex_getln.pro
  263. +63 −63 src/proto/getchar.pro
  264. +24 −24 src/proto/normal.pro
  265. +59 −59 src/proto/ops.pro
  266. +60 −60 src/proto/window.pro
  267. +3 −3 src/quickfix.c
  268. +5 −5 src/regexp.c
  269. +2 −2 src/screen.c
  270. +2 −1 src/testdir/Make_amiga.mak
  271. +1 −1 src/testdir/Make_dos.mak
  272. +1 −1 src/testdir/Make_os2.mak
  273. +2 −2 src/testdir/Make_vms.mms
  274. +1 −1 src/testdir/Makefile
  275. +29 −2 src/testdir/test34.in
  276. +5 −0 src/testdir/test34.ok
  277. +32 −0 src/testdir/test62.in
  278. +5 −0 src/testdir/test62.ok
  279. +8 −8 src/version.h
  280. +2 −2 src/vim.h
  281. +26 −36 src/window.c
  282. +1 −1 src/xxd/xxd.c
View
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
messages, shows current file name in window title, on-line
help, rectangular cut/paste, etc., etc., etc...
- Version 7.0f. Also runs under UNIX, MSDOS and other systems.
- vim70frt.tgz contains the documentation and syntax files.
- vim70fbin.tgz contains the binaries.
- vim70fsrc.tgz contains the sources.
+ Version 7.0g. Also runs under UNIX, MSDOS and other systems.
+ vim70grt.tgz contains the documentation and syntax files.
+ vim70gbin.tgz contains the binaries.
+ vim70gsrc.tgz contains the sources.
Author: Bram Moolenaar et al.
View
@@ -69,7 +69,7 @@ all install uninstall tools config configure proto depend lint tags types test t
# Before creating an archive first delete all backup files, *.orig, etc.
MAJOR = 7
-MINOR = 0f
+MINOR = 0g
# Uncomment this line if the Win32s version is to be included.
DOSBIN_S = dosbin_s
View
@@ -1,4 +1,4 @@
-README.txt for version 7.0f of Vim: Vi IMproved.
+README.txt for version 7.0g of Vim: Vi IMproved.
WHAT IS VIM
View
@@ -1,4 +1,4 @@
-README_ami.txt for version 7.0f of Vim: Vi IMproved.
+README_ami.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on Amiga systems.
See README.txt for general information about Vim.
View
@@ -1,4 +1,4 @@
-README_amibin.txt for version 7.0f of Vim: Vi IMproved.
+README_amibin.txt for version 7.0g of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
View
@@ -1,4 +1,4 @@
-README_amisrc.txt for version 7.0f of Vim: Vi IMproved.
+README_amisrc.txt for version 7.0g of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
View
@@ -1,4 +1,4 @@
-README_bindos.txt for version 7.0f of Vim: Vi IMproved.
+README_bindos.txt for version 7.0g of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
View
@@ -1,4 +1,4 @@
-README_dos.txt for version 7.0f of Vim: Vi IMproved.
+README_dos.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
See "README.txt" for general information about Vim.
View
@@ -1,4 +1,4 @@
-README_extra.txt for version 7.0f of Vim: Vi IMproved.
+README_extra.txt for version 7.0g of Vim: Vi IMproved.
The extra archive of Vim is to be used in combination with the source archive
(vim-6.0-src.tar.gz). The extra archive is useless without it.
View
@@ -1,4 +1,4 @@
-README_lang.txt for version 7.0f of Vim: Vi IMproved.
+README_lang.txt for version 7.0g of Vim: Vi IMproved.
This file contains files for non-English languages:
- Translated messages.
View
@@ -1,4 +1,4 @@
-README_mac.txt for version 7.0f of Vim: Vi IMproved.
+README_mac.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on Macintosh systems.
See "README.txt" for general information about Vim.
View
@@ -1,4 +1,4 @@
-README_ole.txt for version 7.0f of Vim: Vi IMproved.
+README_ole.txt for version 7.0g of Vim: Vi IMproved.
This archive contains gvim.exe with OLE interface and VisVim.
This version of gvim.exe can also load a number of interface dynamically (you
View
@@ -1,4 +1,4 @@
-README_os2.txt for version 7.0f of Vim: Vi IMproved.
+README_os2.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on OS/2 systems.
See "README.txt" for general information about Vim.
View
@@ -1,4 +1,4 @@
-README_os_390.txt for version 7.0f of Vim: Vi IMproved.
+README_os_390.txt for version 7.0g of Vim: Vi IMproved.
Welcome to the OS/390 Unix port of VIM.
View
@@ -1,4 +1,4 @@
-README_src.txt for version 7.0f of Vim: Vi IMproved.
+README_src.txt for version 7.0g of Vim: Vi IMproved.
The source archive contains the files needed to compile Vim on Unix systems.
It is packed for Unix systems (NL line separator). It is also used for other
View
@@ -1,4 +1,4 @@
-README_srcdos.txt for version 7.0f of Vim: Vi IMproved.
+README_srcdos.txt for version 7.0g of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
View
@@ -1,4 +1,4 @@
-README_unix.txt for version 7.0f of Vim: Vi IMproved.
+README_unix.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on Unix systems.
See "README.txt" for general information about Vim.
View
@@ -1,4 +1,4 @@
-README_vms.txt for version 7.0f of Vim: Vi IMproved.
+README_vms.txt for version 7.0g of Vim: Vi IMproved.
This file explains the installation of Vim on VMS systems.
See "README.txt" in the runtime archive for information about Vim.
@@ -22,8 +22,8 @@ To use the binary version, you need one of these archives:
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
vim-XX-exe-ia64-term.zip IA64 console executables
- vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
- vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
+ vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
+ vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
vim-XX-exe-axp-term.zip Alpha console executables
vim-XX-exe-vax-gui.zip VAX GUI executables
vim-XX-exe-vax-term.zip VAX console executables
@@ -34,12 +34,12 @@ and of course
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
but there are also prepared "deploy ready" archives:
-vim-XX-ia64.zip GUI and console executables with runtime and
- help files for IA64 systems
-vim-XX-axp.zip GUI and console executables with runtime and
- help files for Alpha systems
-vim-XX-vax.zip GUI and console executables with runtime and
- help files for VAX systems
+vim-XX-ia64.zip GUI and console executables with runtime and
+ help files for IA64 systems
+vim-XX-axp.zip GUI and console executables with runtime and
+ help files for Alpha systems
+vim-XX-vax.zip GUI and console executables with runtime and
+ help files for VAX systems
GTK builds need LIBGTK library installed.
View
@@ -1,4 +1,4 @@
-README_w32s.txt for version 7.0f of Vim: Vi IMproved.
+README_w32s.txt for version 7.0g of Vim: Vi IMproved.
This archive contains the gvim.exe that was specifically compiled for use in
the Win32s subsystem in MS-Windows 3.1 and 3.11.
View
@@ -22,7 +22,7 @@
!define HAVE_NLS
!define VER_MAJOR 7
-!define VER_MINOR 0f
+!define VER_MINOR 0g
# ----------- No configurable settings below this line -----------
@@ -1,7 +1,7 @@
" Vim completion script
" Language: CSS 2.1
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
-" Last Change: 2005 Oct 12
+" Last Change: 2006 Apr 30
function! csscomplete#CompleteCSS(findstart, base)
if a:findstart
@@ -19,12 +19,12 @@ else
" ^ ; : { } /* */
" Where ^ is start of line and /* */ are comment borders
" Depending on their relative position to cursor we will now what should
- " be completed.
+ " be completed.
" 1. if nearest are ^ or { or ; current word is property
" 2. if : it is value (with exception of pseudo things)
" 3. if } we are outside of css definitions
" 4. for comments ignoring is be the easiest but assume they are the same
- " as 1.
+ " as 1.
" 5. if @ complete at-rule
" 6. if ! complete important
if exists("b:compl_context")
@@ -385,7 +385,7 @@ else
let filestart = matchstr(entered_atruleafter, "^url([\"']\\?\\zs.*")
let files = split(glob(filestart.'*'), '\n')
let values = map(copy(files), '"url(".v:val')
-
+
else
let values = ['"', 'url(']
@@ -1,7 +1,7 @@
" Vim completion script
" Language: HTML and XHTML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
-" Last Change: 2006 Apr 24
+" Last Change: 2006 Apr 30
function! htmlcomplete#CompleteTags(findstart, base)
if a:findstart
@@ -23,7 +23,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
" Handling of <style> tag {{{
let stylestart = searchpair('<style\>', '', '<\/style\>', "bnW")
let styleend = searchpair('<style\>', '', '<\/style\>', "nW")
- if stylestart != 0 && styleend != 0
+ if stylestart != 0 && styleend != 0
if stylestart <= curline && styleend >= curline
let start = col('.') - 1
let b:csscompl = 1
@@ -36,7 +36,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
" Handling of <script> tag {{{
let scriptstart = searchpair('<script\>', '', '<\/script\>', "bnW")
let scriptend = searchpair('<script\>', '', '<\/script\>', "nW")
- if scriptstart != 0 && scriptend != 0
+ if scriptstart != 0 && scriptend != 0
if scriptstart <= curline && scriptend >= curline
let start = col('.') - 1
let b:jscompl = 1
@@ -109,7 +109,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
endwhile
endif
" If b:compl_context begins with <? we are inside of PHP code. It
- " wasn't closed so PHP completion passed it to HTML
+ " wasn't closed so PHP completion passed it to HTML
if &filetype =~? 'php' && b:compl_context =~ '^<?'
let b:phpcompl = 1
let start = col('.') - 1
@@ -200,7 +200,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
" If context contains > it means we are already outside of tag and we
" should abandon action
- " If context contains white space it is attribute.
+ " If context contains white space it is attribute.
" It can be also value of attribute.
" We have to get first word to offer proper completions
if context == ''
@@ -353,7 +353,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
let filelines = getline(1, line('$'))
" 2. Find lines with possible id
let used_id_lines = filter(filelines, 'v:val =~ "id\\s*=\\s*[\"''][a-zA-Z0-9_-]\\+"')
- " 3a. Join all filtered lines
+ " 3a. Join all filtered lines
let id_string = join(used_id_lines, ' ')
" 3b. And split them to be sure each id is in separate item
let id_list = split(id_string, 'id\s*=\s*')
@@ -432,7 +432,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
return javascriptcomplete#CompleteJS(0, js_context)
endif
-
+
" }}}
let stripbase = matchstr(context, ".*\\(on[a-zA-Z]*\\|style\\|class\\)\\s*=\\s*[\"']\\zs.*")
" Now we have context stripped from all chars up to style/class.
@@ -508,7 +508,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
call htmlcomplete#LoadData()
endif
" }}}
-
+
if has_key(b:html_omni, tag)
let attrs = keys(b:html_omni[tag][1])
else
@@ -600,7 +600,7 @@ function! htmlcomplete#CompleteTags(findstart, base)
endif
endif
" }}}
-
+
if exists("uppercase_tag") && uppercase_tag == 1
let context = tolower(context)
endif
@@ -1,7 +1,7 @@
" Vim completion script
" Language: Java Script
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
-" Last Change: 2006 Feb 6
+" Last Change: 2006 Apr 30
function! javascriptcomplete#CompleteJS(findstart, base)
if a:findstart
@@ -48,7 +48,7 @@ function! javascriptcomplete#CompleteJS(findstart, base)
let doms = ['style.']
" Arrays
let arrayprop = ['constructor', 'index', 'input', 'length', 'prototype']
- let arraymeth = ['concat', 'join', 'pop', 'push', 'reverse', 'shift',
+ let arraymeth = ['concat', 'join', 'pop', 'push', 'reverse', 'shift',
\ 'splice', 'sort', 'toSource', 'toString', 'unshift', 'valueOf',
\ 'watch', 'unwatch']
call map(arraymeth, 'v:val."("')
Oops, something went wrong.

0 comments on commit c7c9443

Please sign in to comment.