summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorViktor Szépe <viktor@szepe.net>2023-08-23 21:20:00 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-23 21:20:00 +0200
commit3fc7a7e44abda6505ccd39a6d067db6e5173cbf6 (patch)
treefbccdd210699fd68bb39f86bcb6d037b57d66c1c /runtime/ftplugin
parentafe0466fb1695fa8b9782eea8a8e9f9540d4cb85 (diff)
runtime: Fix typos in various files
closes: #12836 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Viktor Szépe <viktor@szepe.net>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/debchangelog.vim2
-rw-r--r--runtime/ftplugin/readline.vim2
-rw-r--r--runtime/ftplugin/rst.vim2
-rw-r--r--runtime/ftplugin/sql.vim4
-rw-r--r--runtime/ftplugin/tidy.vim2
-rw-r--r--runtime/ftplugin/zig.vim2
6 files changed, 7 insertions, 7 deletions
diff --git a/runtime/ftplugin/debchangelog.vim b/runtime/ftplugin/debchangelog.vim
index 062fc054c8..dca7f7355a 100644
--- a/runtime/ftplugin/debchangelog.vim
+++ b/runtime/ftplugin/debchangelog.vim
@@ -122,7 +122,7 @@ function NewVersion()
normal! 1G0
call search(')')
normal! h
- " ':normal' doens't support key annotation (<c-a>) directly.
+ " ':normal' doesn't support key annotation (<c-a>) directly.
" Vim's manual recommends using ':exe' to use key annotation indirectly (backslash-escaping needed though).
exe "normal! \<c-a>"
call setline(1, substitute(getline(1), '-\$\$', '-', ''))
diff --git a/runtime/ftplugin/readline.vim b/runtime/ftplugin/readline.vim
index eba7122347..524eeb736a 100644
--- a/runtime/ftplugin/readline.vim
+++ b/runtime/ftplugin/readline.vim
@@ -25,7 +25,7 @@ if exists("loaded_matchit") && !exists("b:match_words")
endif
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
- let b:browsefilter = "Readline Intialization Files (inputrc .inputrc)\tinputrc;*.inputrc\n" ..
+ let b:browsefilter = "Readline Initialization Files (inputrc .inputrc)\tinputrc;*.inputrc\n" ..
\ "All Files (*.*)\t*.*\n"
let b:undo_ftplugin ..= " | unlet! b:browsefilter"
endif
diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim
index ff7a402d10..c88e8f2580 100644
--- a/runtime/ftplugin/rst.vim
+++ b/runtime/ftplugin/rst.vim
@@ -28,7 +28,7 @@ setlocal formatoptions+=tcroql
" directives (..) and ordered lists (1.), although it can cause problems for
" many other cases.
"
-" More sophisticated indentation rules should be revisted in the future.
+" More sophisticated indentation rules should be revisited in the future.
if exists("g:rst_style") && g:rst_style != 0
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
diff --git a/runtime/ftplugin/sql.vim b/runtime/ftplugin/sql.vim
index 1c02a98c7c..7a29d39f8e 100644
--- a/runtime/ftplugin/sql.vim
+++ b/runtime/ftplugin/sql.vim
@@ -140,7 +140,7 @@ if !exists("*SQL_SetType")
\ )
" Remove duplicates, since sqlanywhere.vim can exist in the
- " sytax, indent and ftplugin directory, yet we only want
+ " syntax, indent and ftplugin directory, yet we only want
" to display the option once
let index = match(sqls, '.\{-}\ze\n')
while index > -1
@@ -204,7 +204,7 @@ if !exists("*SQL_SetType")
endif
let b:sql_type_override = new_sql_type
- " Remove any cached SQL since a new sytax will have different
+ " Remove any cached SQL since a new syntax will have different
" items and groups
if !exists('g:loaded_sql_completion') || g:loaded_sql_completion >= 100
call sqlcomplete#ResetCacheSyntax()
diff --git a/runtime/ftplugin/tidy.vim b/runtime/ftplugin/tidy.vim
index 470548d83a..b81b66db4a 100644
--- a/runtime/ftplugin/tidy.vim
+++ b/runtime/ftplugin/tidy.vim
@@ -1,5 +1,5 @@
" Vim filetype plugin file
-" Language: HMTL Tidy Configuration
+" Language: HTML Tidy Configuration
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2020 Sep 4
diff --git a/runtime/ftplugin/zig.vim b/runtime/ftplugin/zig.vim
index e740a52849..5f453fc8d1 100644
--- a/runtime/ftplugin/zig.vim
+++ b/runtime/ftplugin/zig.vim
@@ -17,7 +17,7 @@ compiler zig_build
" Match Zig builtin fns
setlocal iskeyword+=@-@
-" Recomended code style, no tabs and 4-space indentation
+" Recommended code style, no tabs and 4-space indentation
setlocal expandtab
setlocal tabstop=8
setlocal softtabstop=4