mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0096
This commit is contained in:
parent
9a50b1bf21
commit
a1ba811ac9
@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 7.0aa. Last change: 2005 Jun 23
|
*index.txt* For Vim version 7.0aa. Last change: 2005 Jun 28
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1359,6 +1359,7 @@ The commands are sorted on the non-optional part of their name.
|
|||||||
|:source| :so[urce] read Vim or Ex commands from a file
|
|:source| :so[urce] read Vim or Ex commands from a file
|
||||||
|:spelldump| :spelld[ump] split window and fill with all correct words
|
|:spelldump| :spelld[ump] split window and fill with all correct words
|
||||||
|:spellgood| :spe[llgood] add good word for spelling
|
|:spellgood| :spe[llgood] add good word for spelling
|
||||||
|
|:spellrepall| :spellr[epall] replace all bad words like last |z?|
|
||||||
|:spellwrong| :spellw[rong] add spelling mistake
|
|:spellwrong| :spellw[rong] add spelling mistake
|
||||||
|:split| :sp[lit] split current window
|
|:split| :sp[lit] split current window
|
||||||
|:sprevious| :spr[evious] split window and go to previous file in the
|
|:sprevious| :spr[evious] split window and go to previous file in the
|
||||||
|
81
runtime/syntax/ld.vim
Normal file
81
runtime/syntax/ld.vim
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
" Vim syntax file
|
||||||
|
" Language: ld(1) script
|
||||||
|
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||||
|
" Latest Revision: 2005-06-28
|
||||||
|
|
||||||
|
if exists("b:current_syntax")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cpo_save = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
|
syn keyword ldTodo contained TODO FIXME XXX NOTE
|
||||||
|
|
||||||
|
syn region ldComment start='/\*' end='\*/' contains=ldTodo,@Spell
|
||||||
|
|
||||||
|
syn region ldFileName start=+"+ end=+"+
|
||||||
|
|
||||||
|
syn keyword ldPreProc SECTIONS MEMORY OVERLAY PHDRS VERSION
|
||||||
|
syn match ldPreProc '\<VERS_\d\+\.\d\+'
|
||||||
|
|
||||||
|
syn keyword ldFunction ABSOLUTE ADDR ALIGN BLOCK DATA_SEGMENT_ALIGN
|
||||||
|
\ DATA_SEGMENT_END DATA_SEGMENT_RELRO_END DEFINED
|
||||||
|
\ LOADADDR MAX MIN NEXT SIZEOF SIZEOF_HEADERS
|
||||||
|
\ sizeof_headers
|
||||||
|
|
||||||
|
syn keyword ldKeyword ENTRY INCLUDE INPUT GROUP OUTPUT
|
||||||
|
\ SEARCH_DIR STARTUP OUTPUT_FORMAT TARGET
|
||||||
|
\ ASSERT EXTERN FORCE_COMMON_ALLOCATION
|
||||||
|
\ INHIBIT_COMMON_ALLOCATION NOCROSSREFS OUTPUT_ARCH
|
||||||
|
\ PROVIDE EXCLUDE_FILE SORT KEEP FILL
|
||||||
|
\ CREATE_OBJECT_SYMBOLS CONSTRUCTORS SUBALIGN
|
||||||
|
\ FILEHDR AT __asm__ ABSOLUTE
|
||||||
|
|
||||||
|
syn keyword ldDataType BYTE SHORT LONG QUAD SQUAD
|
||||||
|
syn keyword ldOutputType NOLOAD DSECT COPY INFO OVERLAY
|
||||||
|
syn keyword ldPTType PT_NULL PT_LOAD PT_DYNAMIC PT_INTERP
|
||||||
|
\ PT_NOTE PT_SHLIB PT_PHDR
|
||||||
|
|
||||||
|
syn keyword ldSpecial COMMON
|
||||||
|
syn match ldSpecial '/DISCARD/'
|
||||||
|
|
||||||
|
syn keyword ldIdentifier ORIGIN LENGTH
|
||||||
|
|
||||||
|
syn match ldSpecSections '\.'
|
||||||
|
syn match ldSections '\.\S\+'
|
||||||
|
syn match ldSpecSections '\.\%(text\|data\|bss\|symver\)\>'
|
||||||
|
|
||||||
|
syn match ldNumber display '\<0[xX]\x\+\>'
|
||||||
|
syn match ldNumber display '\d\+[KM]\>' contains=ldNumberMult
|
||||||
|
syn match ldNumberMult display '[KM]\>'
|
||||||
|
syn match ldOctal contained display '\<0\o\+\>'
|
||||||
|
\ contains=ldOctalZero
|
||||||
|
syn match ldOctalZero contained display '\<0'
|
||||||
|
syn match ldOctalError contained display '\<0\o*[89]\d*\>'
|
||||||
|
|
||||||
|
|
||||||
|
hi def link ldTodo Todo
|
||||||
|
hi def link ldComment Comment
|
||||||
|
hi def link ldFileName String
|
||||||
|
hi def link ldPreProc PreProc
|
||||||
|
hi def link ldFunction Identifier
|
||||||
|
hi def link ldKeyword Keyword
|
||||||
|
hi def link ldType Type
|
||||||
|
hi def link ldDataType ldType
|
||||||
|
hi def link ldOutputType ldType
|
||||||
|
hi def link ldPTType ldType
|
||||||
|
hi def link ldSpecial Special
|
||||||
|
hi def link ldIdentifier Identifier
|
||||||
|
hi def link ldSections Constant
|
||||||
|
hi def link ldSpecSections Special
|
||||||
|
hi def link ldNumber Number
|
||||||
|
hi def link ldNumberMult PreProc
|
||||||
|
hi def link ldOctal ldNumber
|
||||||
|
hi def link ldOctalZero PreProc
|
||||||
|
hi def link ldOctalError Error
|
||||||
|
|
||||||
|
let b:current_syntax = "ld"
|
||||||
|
|
||||||
|
let &cpo = s:cpo_save
|
||||||
|
unlet s:cpo_save
|
@ -24,16 +24,19 @@ Most code can be found in a file with an obvious name (incomplete list):
|
|||||||
fold.c folding
|
fold.c folding
|
||||||
getchar.c getting characters and key mapping
|
getchar.c getting characters and key mapping
|
||||||
mark.c marks
|
mark.c marks
|
||||||
|
mbyte.c multy-byte character handling
|
||||||
memfile.c storing lines for buffers in a swapfile
|
memfile.c storing lines for buffers in a swapfile
|
||||||
memline.c storing lines for buffers in memory
|
memline.c storing lines for buffers in memory
|
||||||
menu.c menus
|
menu.c menus
|
||||||
message.c (error) messages
|
message.c (error) messages
|
||||||
mbyte.c multy-byte character handling
|
|
||||||
ops.c handling operators ("d", "y", "p")
|
ops.c handling operators ("d", "y", "p")
|
||||||
option.c options
|
option.c options
|
||||||
quickfix.c quickfix commands (":make", ":cn")
|
quickfix.c quickfix commands (":make", ":cn")
|
||||||
|
regexp.c pattern matching
|
||||||
screen.c updating the windows
|
screen.c updating the windows
|
||||||
search.c pattern searching
|
search.c pattern searching
|
||||||
|
spell.c spell checking
|
||||||
|
syntax.c syntax and other highlighting
|
||||||
tag.c tags
|
tag.c tags
|
||||||
term.c terminal handling, termcap codes
|
term.c terminal handling, termcap codes
|
||||||
undo.c undo and redo
|
undo.c undo and redo
|
||||||
|
@ -227,6 +227,7 @@ static void ex_popup __ARGS((exarg_T *eap));
|
|||||||
# define ex_spell ex_ni
|
# define ex_spell ex_ni
|
||||||
# define ex_mkspell ex_ni
|
# define ex_mkspell ex_ni
|
||||||
# define ex_spelldump ex_ni
|
# define ex_spelldump ex_ni
|
||||||
|
# define ex_spellrepall ex_ni
|
||||||
#endif
|
#endif
|
||||||
#ifndef FEAT_MZSCHEME
|
#ifndef FEAT_MZSCHEME
|
||||||
# define ex_mzscheme ex_script_ni
|
# define ex_mzscheme ex_script_ni
|
||||||
@ -4266,7 +4267,8 @@ expand_filename(eap, cmdlinep, errormsgp)
|
|||||||
if (vim_strchr(eap->arg, '$') != NULL
|
if (vim_strchr(eap->arg, '$') != NULL
|
||||||
|| vim_strchr(eap->arg, '~') != NULL)
|
|| vim_strchr(eap->arg, '~') != NULL)
|
||||||
{
|
{
|
||||||
expand_env_esc(eap->arg, NameBuff, MAXPATHL, TRUE);
|
expand_env_esc(eap->arg, NameBuff, MAXPATHL,
|
||||||
|
TRUE, NULL);
|
||||||
has_wildcards = mch_has_wildcard(NameBuff);
|
has_wildcards = mch_has_wildcard(NameBuff);
|
||||||
p = NameBuff;
|
p = NameBuff;
|
||||||
}
|
}
|
||||||
|
852
src/spell.c
852
src/spell.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user