0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

Updated runtime files.

This commit is contained in:
Bram Moolenaar
2014-01-07 06:09:28 +01:00
parent 2fda301469
commit 438f67a004
7 changed files with 182 additions and 55 deletions

View File

@@ -598,7 +598,6 @@ without limits.
" Default " Default
let g:clojure_maxlines = 100 let g:clojure_maxlines = 100
< <
*g:clojure_fuzzy_indent* *g:clojure_fuzzy_indent*
*g:clojure_fuzzy_indent_patterns* *g:clojure_fuzzy_indent_patterns*
*g:clojure_fuzzy_indent_blacklist* *g:clojure_fuzzy_indent_blacklist*
@@ -652,7 +651,6 @@ default list below.
let g:clojure_special_indent_words = let g:clojure_special_indent_words =
\ 'deftype,defrecord,reify,proxy,extend-type,extend-protocol,letfn' \ 'deftype,defrecord,reify,proxy,extend-type,extend-protocol,letfn'
< <
*g:clojure_align_multiline_strings* *g:clojure_align_multiline_strings*
Align subsequent lines in multiline strings to the column after the opening Align subsequent lines in multiline strings to the column after the opening
@@ -677,6 +675,28 @@ This option is off by default.
" Default " Default
let g:clojure_align_multiline_strings = 0 let g:clojure_align_multiline_strings = 0
< <
*g:clojure_align_subforms*
By default, parenthesized compound forms that look like function calls and
whose head subform is on its own line have subsequent subforms indented by
two spaces relative to the opening paren:
>
(foo
bar
baz)
<
Setting this option changes this behavior so that all subforms are aligned to
the same column:
>
(foo
bar
baz)
<
This option is off by default.
>
" Default
let g:clojure_align_subforms = 0
<
FORTRAN *ft-fortran-indent* FORTRAN *ft-fortran-indent*

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2013 Dec 15 *todo.txt* For Vim version 7.4. Last change: 2014 Jan 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,7 +38,16 @@ Article for Vim website. (Pritesh Ugrankar, 2013 Dec 13)
Patch for Perl 5.18. (2013 Dec 13, Ken Takata) Patch for Perl 5.18. (2013 Dec 13, Ken Takata)
Patch 7.4.114 breaks "Entering directory" message parsing.
patch by Lech Lorens, 2013 Dec 30.
Patch to possibly fix crash usng w_localdir. (Dominique Pelle, 2013 Dec 27)
Patch to fix crash when using :bwipeout in autocmd. (Hirohito Higashi, 2014 Jan 6)
Regexp problems: Regexp problems:
- After patch 7.4.045 pattern with \zs isn't handled correctly. (Yukihiro
Nakadaira, 2013 Dec 23)
- NFA regexp doesn't count tab matches correctly. (Urtica Dioica / gaultheria - NFA regexp doesn't count tab matches correctly. (Urtica Dioica / gaultheria
Shallon, 2013 Nov 18) Shallon, 2013 Nov 18)
- After patch 7.4.100 there is still a difference between NFA and old engine. - After patch 7.4.100 there is still a difference between NFA and old engine.
@@ -50,12 +59,34 @@ Regexp problems:
- NFA problem with non-greedy match and branches. (Ingo Karkat, 2013 Nov 29) - NFA problem with non-greedy match and branches. (Ingo Karkat, 2013 Nov 29)
- Ignorecase not handled properly for multi-byte characters. (Axel Bender, - Ignorecase not handled properly for multi-byte characters. (Axel Bender,
2013 Dec 11) 2013 Dec 11)
- Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski
Problem that a previous silent ":throw" causes a following try/catch not to Problem that a previous silent ":throw" causes a following try/catch not to
work. (ZyX, 2013 Sep 28) work. (ZyX, 2013 Sep 28)
":cd C:\Windows\System32\drivers\etc*" does not work, even though the
directory exists. (Sergio Gallelli, 2013 Dec 29)
Patch for problems with Borland compiler. (Ken Takata, 2013 Dec 14) Patch for problems with Borland compiler. (Ken Takata, 2013 Dec 14)
Patch to make getregtype() work as documented. (Yukihiro Nakadaira, 2013 Dec
26)
Patch to initialize v:oldfiles. (Yasuhiro Matsumoto, 2013 Dec 15)
Patch to fix cursor movement. (Hirohito Higashi, 2013 Dec 21)
Patch to add more help tags. (glts, 2014 Jan 4)
Patch to avoid E685 internal error. (Yukihiro Nakadaira, 2014 Jan 1)
Restore no_autoload?
Alternative: Avoid no_autoload. (ZyX, 2014 Jan 6)
Patch to avoid that :keeppatterns s/foo/bar sets @/. (Yasuhiro Matsumoto, 2013
Dec 17)
Patch for typo in makefile. ZyX, (2013 Dec 15)
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15) Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
Update for Clojure ftplugin. (Sung Pae). Await discussion about formatting in Update for Clojure ftplugin. (Sung Pae). Await discussion about formatting in
@@ -70,6 +101,8 @@ Patch to support iterator on Python vim.options. (ZyX, 2013 Nov 2)
Patch to make Dictionary.update() work without arguments. Patch to make Dictionary.update() work without arguments.
(ZyX, 2013 Oct 19) (ZyX, 2013 Oct 19)
Patch to allow more types in remote_expr(). (Lech Lorens, 2014 Jan 5)
Patch for Cobol ftplugin. (ZyX, 2013 Oct 20) Patch for Cobol ftplugin. (ZyX, 2013 Oct 20)
Await response from maintainer. Await response from maintainer.
@@ -85,6 +118,10 @@ Problem with 'spellsuggest' file, only works for some words.
(Cesar Romani, 2013 Aug 20) Depends on file name? (Aug 24) (Cesar Romani, 2013 Aug 20) Depends on file name? (Aug 24)
Additional remark by glts: the suggested words are marked bad? Additional remark by glts: the suggested words are marked bad?
8 non-ASCII font names don't work. Need to convert from 'encoding' and use
the wide functions. Patch by Ken Takata, 2013 Dec 22.
Update 2014 Jan 6.
Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21) Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21)
Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19) Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
@@ -103,6 +140,9 @@ instead. (Samuel Ferencik, 2013 Sep 28)
Series of patches for NL vs NUL handling. (ZyX, 2013 Nov 3, Nov 9) Series of patches for NL vs NUL handling. (ZyX, 2013 Nov 3, Nov 9)
Patch to add flag to shortmess to avoid giving completion messages.
(Shougo Matsu, 2014 Jan 6)
Patch to add v:completed_item. (Shougo Matsu, 2013 Nov 29). Patch to add v:completed_item. (Shougo Matsu, 2013 Nov 29).
Patch to make test 100 work on MS-Windows. (Taro Muraoka, 2013 Dec 12) Patch to make test 100 work on MS-Windows. (Taro Muraoka, 2013 Dec 12)
@@ -146,7 +186,8 @@ Patch by Thomas Tuegel, also for GTK, 2013 Nov 24
:help gives example for z?, but it does not work. m? and t? do work. :help gives example for z?, but it does not work. m? and t? do work.
Python: Extended funcrefs: use func_T* structure in place of char_u* function Python: Extended funcrefs: use func_T* structure in place of char_u* function
names. (ZyX, 2013 Jul 15, update Sep 22, 24, 28) names.
(ZyX, 2013 Jul 15, update Sep 22, 24, 28; Update 2013 Dec 15, 2014 Jan 6)
Also fixes Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5) Also fixes Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5)
Patch to add funcref to Lua. (Luis Carvalho, 2013 Sep 4) Patch to add funcref to Lua. (Luis Carvalho, 2013 Sep 4)
@@ -2012,8 +2053,6 @@ GTK+ GUI known bugs:
Win32 GUI known bugs: Win32 GUI known bugs:
- Win32: tearoff menu window should have a scrollbar when it's taller than - Win32: tearoff menu window should have a scrollbar when it's taller than
the screen. the screen.
8 non-ASCII font names don't work. Need to convert from 'encoding' and use
the wide functions.
8 On Windows 98 the unicows library is needed to support functions with UCS2 8 On Windows 98 the unicows library is needed to support functions with UCS2
file names. Can we load unicows.dll dynamically? file names. Can we load unicows.dll dynamically?
8 The -P argument doesn't work very well with many MDI applications. 8 The -P argument doesn't work very well with many MDI applications.

View File

@@ -1,7 +1,7 @@
" Vim support file to detect file types " Vim support file to detect file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2013 Nov 13 " Last Change: 2014 Jan 06
" Listen very carefully, I will say this only once " Listen very carefully, I will say this only once
if exists("did_load_filetypes") if exists("did_load_filetypes")
@@ -106,6 +106,9 @@ au BufNewFile,BufRead *.run setf ampl
" Ant " Ant
au BufNewFile,BufRead build.xml setf ant au BufNewFile,BufRead build.xml setf ant
" Arduino
au BufNewFile,BufRead *.ino,*.pde setf arduino
" Apache style config file " Apache style config file
au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle') au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle')

View File

@@ -6,7 +6,7 @@
" Maintainer: Sung Pae <self@sungpae.com> " Maintainer: Sung Pae <self@sungpae.com>
" URL: https://github.com/guns/vim-clojure-static " URL: https://github.com/guns/vim-clojure-static
" License: Same as Vim " License: Same as Vim
" Last Change: 08 September 2013 " Last Change: 16 December 2013
" TODO: Indenting after multibyte characters is broken: " TODO: Indenting after multibyte characters is broken:
" (let [Δ (if foo " (let [Δ (if foo
@@ -53,6 +53,10 @@ if exists("*searchpairpos")
let g:clojure_align_multiline_strings = 0 let g:clojure_align_multiline_strings = 0
endif endif
if !exists('g:clojure_align_subforms')
let g:clojure_align_subforms = 0
endif
function! s:SynIdName() function! s:SynIdName()
return synIDattr(synID(line("."), col("."), 0), "name") return synIDattr(synID(line("."), col("."), 0), "name")
endfunction endfunction
@@ -284,7 +288,7 @@ if exists("*searchpairpos")
call search('\v\_s', 'cW') call search('\v\_s', 'cW')
call search('\v\S', 'W') call search('\v\S', 'W')
if paren[0] < line(".") if paren[0] < line(".")
return paren[1] + &shiftwidth - 1 return paren[1] + (g:clojure_align_subforms ? 0 : &shiftwidth - 1)
endif endif
call search('\v\S', 'bW') call search('\v\S', 'bW')

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: xa 6502 cross assembler " Language: xa 6502 cross assembler
" Maintainer: Clemens Kirchgatterer <clemens@thf.ath.cx> " Maintainer: Clemens Kirchgatterer <clemens@1541.org>
" Last Change: 2003 May 03 " Last Change: 2014 Jan 05
" For version 5.x: Clear all syntax items " For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded " For version 6.x: Quit when a syntax file was already loaded

View File

@@ -0,0 +1,61 @@
" Vim syntax file
" Language: Arduino
" Maintainer: Johannes Hoff <johannes@johanneshoff.com>
" Last Change: 2011 June 3
" License: VIM license (:help license, replace vim by arduino.vim)
" Syntax highlighting like in the Arduino IDE
" Keywords extracted from <arduino>/build/shared/lib/keywords.txt (arduino
" version 0021)
" Thanks to Rik, Erik Nomitch, Adam Obeng and Graeme Cross for helpful feedback!
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
" Read the C syntax to start with
if version < 600
so <sfile>:p:h/cpp.vim
else
runtime! syntax/cpp.vim
endif
syn keyword arduinoConstant HIGH LOW INPUT OUTPUT
syn keyword arduinoConstant DEC BIN HEX OCT BYTE
syn keyword arduinoConstant PI HALF_PI TWO_PI
syn keyword arduinoConstant LSBFIRST MSBFIRST
syn keyword arduinoConstant CHANGE FALLING RISING
syn keyword arduinoConstant SERIAL DISPLAY
syn keyword arduinoConstant DEFAULT EXTERNAL INTERNAL INTERNAL1V1 INTERNAL2V56
syn keyword arduinoStdFunc abs acos asin atan atan2 ceil constrain
syn keyword arduinoStdFunc cos degrees exp floor log
syn keyword arduinoStdFunc map max min pow radians
syn keyword arduinoStdFunc round sin sq sqrt tan
syn keyword arduinoStdFunc randomSeed random
syn keyword arduinoFunc analogReference analogRead analogWrite
syn keyword arduinoFunc attachInterrupt detachInterrupt interrupts noInterrupts
syn keyword arduinoFunc lowByte highByte bitRead bitWrite bitSet bitClear
syn keyword arduinoFunc millis micros delay delayMicroseconds
syn keyword arduinoFunc pinMode digitalWrite digitalRead
syn keyword arduinoFunc tone noTone pulseIn shiftOut
syn keyword arduinoMethod setup loop
syn keyword arduinoMethod begin end available read flush print println write peek
syn keyword arduinoType boolean byte word String
syn keyword arduinoModule Serial Serial1 Serial2 Serial3
hi def link arduinoType Type
hi def link arduinoConstant Constant
hi def link arduinoStdFunc Function
hi def link arduinoFunc Function
hi def link arduinoMethod Function
hi def link arduinoModule Identifier

File diff suppressed because one or more lines are too long