aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-16 16:36:25 +0800
committerGitHub <noreply@github.com>2023-10-16 16:36:25 +0800
commit3222f0ad0079ce4bd4e45886a00e4fe4685fb5dd (patch)
tree84dad2040bbd4ec91e4c53c9a191d4eeafe908be /runtime/syntax
parent0a3505eb9df8d57a9a0bcecf02bb3dda1c8edd29 (diff)
downloadrneovim-3222f0ad0079ce4bd4e45886a00e4fe4685fb5dd.tar.gz
rneovim-3222f0ad0079ce4bd4e45886a00e4fe4685fb5dd.tar.bz2
rneovim-3222f0ad0079ce4bd4e45886a00e4fe4685fb5dd.zip
vim-patch:dbf749bd5aae (#25665)
runtime: Fix more typos (vim/vim#13354) * Fix more typos * Fix typos in ignored runtime/ directory https://github.com/vim/vim/commit/dbf749bd5aaef6ea2d28bce081349785d174d96a Co-authored-by: Viktor Szépe <viktor@szepe.net>
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/abap.vim2
-rw-r--r--runtime/syntax/asm68k.vim2
-rw-r--r--runtime/syntax/debcontrol.vim2
-rw-r--r--runtime/syntax/nix.vim2
-rw-r--r--runtime/syntax/ora.vim2
-rw-r--r--runtime/syntax/po.vim2
-rw-r--r--runtime/syntax/ppd.vim4
-rw-r--r--runtime/syntax/spup.vim2
-rw-r--r--runtime/syntax/tsscl.vim2
-rw-r--r--runtime/syntax/zsh.vim2
10 files changed, 11 insertions, 11 deletions
diff --git a/runtime/syntax/abap.vim b/runtime/syntax/abap.vim
index e48dfc3603..627e51504a 100644
--- a/runtime/syntax/abap.vim
+++ b/runtime/syntax/abap.vim
@@ -122,7 +122,7 @@ syn keyword abapStatement TABLES TIMES TRANSFER TRANSLATE TRY TYPE TYPES
syn keyword abapStatement UNASSIGN ULINE UNPACK UPDATE
syn keyword abapStatement WHEN WHILE WINDOW WRITE
-" More statemets
+" More statements
syn keyword abapStatement LINES
syn keyword abapStatement INTO GROUP BY HAVING ORDER BY SINGLE
syn keyword abapStatement APPENDING CORRESPONDING FIELDS OF TABLE
diff --git a/runtime/syntax/asm68k.vim b/runtime/syntax/asm68k.vim
index 1607507909..104887d026 100644
--- a/runtime/syntax/asm68k.vim
+++ b/runtime/syntax/asm68k.vim
@@ -4,7 +4,7 @@
" Last change: 2001 May 01
"
" This is incomplete. In particular, support for 68020 and
-" up and 68851/68881 co-processors is partial or non-existant.
+" up and 68851/68881 co-processors is partial or non-existent.
" Feel free to contribute...
"
diff --git a/runtime/syntax/debcontrol.vim b/runtime/syntax/debcontrol.vim
index c79b702f92..af78ebc3ae 100644
--- a/runtime/syntax/debcontrol.vim
+++ b/runtime/syntax/debcontrol.vim
@@ -22,7 +22,7 @@ syn iskeyword @,48-57,-
" Everything that is not explicitly matched by the rules below
syn match debcontrolElse "^.*$"
-" Common seperators
+" Common separators
syn match debControlComma ",[ \t]*"
syn match debControlSpace "[ \t]"
diff --git a/runtime/syntax/nix.vim b/runtime/syntax/nix.vim
index 671b269c04..ef52cddf46 100644
--- a/runtime/syntax/nix.vim
+++ b/runtime/syntax/nix.vim
@@ -99,7 +99,7 @@ syn match nixArgOperator '[a-zA-Z_][a-zA-Z0-9_'-]*\%(\s\|#.\{-\}\n\|\n\|/\*\_.\{
"
" "\%(\s\|#.\{-\}\n\|\n\|/\*\_.\{-\}\*/\)*"
"
-" It is also used throught the whole file and is marked with 'v's as well.
+" It is also used throughout the whole file and is marked with 'v's as well.
"
" Fortunately the matching rules for function arguments are much simpler than
" for real attribute sets, because we can stop when we hit the first ellipsis or
diff --git a/runtime/syntax/ora.vim b/runtime/syntax/ora.vim
index 99034793f2..ab091a2eee 100644
--- a/runtime/syntax/ora.vim
+++ b/runtime/syntax/ora.vim
@@ -449,7 +449,7 @@ hi def link oraString String "strings
hi def link oraSpecial Special "special characters
hi def link oraError Error "errors
-hi def link oraParenError oraError "errors caused by mismatching parantheses
+hi def link oraParenError oraError "errors caused by mismatching parentheses
hi def link oraComment Comment "comments
diff --git a/runtime/syntax/po.vim b/runtime/syntax/po.vim
index 15d09b18bd..08d6baec27 100644
--- a/runtime/syntax/po.vim
+++ b/runtime/syntax/po.vim
@@ -42,7 +42,7 @@ syn match poHeaderItem "\(Project-Id-Version\|Report-Msgid-Bugs-To\|POT-Crea
syn match poHeaderUndefined "\(PACKAGE VERSION\|YEAR-MO-DA HO:MI+ZONE\|FULL NAME <EMAIL@ADDRESS>\|LANGUAGE <LL@li.org>\|CHARSET\|ENCODING\|INTEGER\|EXPRESSION\)" contained
syn match poCopyrightUnset "SOME DESCRIPTIVE TITLE\|FIRST AUTHOR <EMAIL@ADDRESS>, YEAR\|Copyright (C) YEAR Free Software Foundation, Inc\|YEAR THE PACKAGE\'S COPYRIGHT HOLDER\|PACKAGE" contained
-" Translation comment block including: translator comment, automatic coments, flags and locations
+" Translation comment block including: translator comment, automatic comments, flags and locations
syn match poComment "^#.*$"
syn keyword poFlagFuzzy fuzzy contained
syn match poCommentTranslator "^# .*$" contains=poCopyrightUnset
diff --git a/runtime/syntax/ppd.vim b/runtime/syntax/ppd.vim
index da67e1f39f..6bd57f34e5 100644
--- a/runtime/syntax/ppd.vim
+++ b/runtime/syntax/ppd.vim
@@ -15,7 +15,7 @@ syn match ppdDefine "\*[a-zA-Z0-9\-_]\+:"
syn match ppdUI "\*[a-zA-Z]*\(Open\|Close\)UI"
syn match ppdUIGroup "\*[a-zA-Z]*\(Open\|Close\)Group"
syn match ppdGUIText "/.*:"
-syn match ppdContraints "^*UIConstraints:"
+syn match ppdConstraints "^*UIConstraints:"
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
@@ -27,7 +27,7 @@ hi def link ppdUI Function
hi def link ppdUIGroup Function
hi def link ppdDef String
hi def link ppdGUIText Type
-hi def link ppdContraints Special
+hi def link ppdConstraints Special
let b:current_syntax = "ppd"
diff --git a/runtime/syntax/spup.vim b/runtime/syntax/spup.vim
index 9284abf63f..222caa779e 100644
--- a/runtime/syntax/spup.vim
+++ b/runtime/syntax/spup.vim
@@ -29,7 +29,7 @@ set cpo&vim
"let strict_subsections = 1
" highlight types usually found in DECLARE section
-if !exists("hightlight_types")
+if !exists("highlight_types")
let highlight_types = 1
endif
diff --git a/runtime/syntax/tsscl.vim b/runtime/syntax/tsscl.vim
index fd2a5e2ba9..df804b2f88 100644
--- a/runtime/syntax/tsscl.vim
+++ b/runtime/syntax/tsscl.vim
@@ -22,7 +22,7 @@ syn case ignore
"
"
-" Begin syntax definitions for tss geomtery file.
+" Begin syntax definitions for tss geometry file.
"
" Load TSS geometry syntax file
diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim
index 69671c59ca..084f8cdb41 100644
--- a/runtime/syntax/zsh.vim
+++ b/runtime/syntax/zsh.vim
@@ -88,7 +88,7 @@ syn match zshOperator '||\|&&\|;\|&!\='
syn match zshRedir '\d\=\(<<<\|<&\s*[0-9p-]\=\|<>\?\)'
" >, >>, and variants.
syn match zshRedir '\d\=\(>&\s*[0-9p-]\=\|&>>\?\|>>\?&\?\)[|!]\='
- " | and |&, but only if it's not preceeded or
+ " | and |&, but only if it's not preceded or
" followed by a | to avoid matching ||.
syn match zshRedir '|\@1<!|&\=|\@!'