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>
This commit is contained in:
committed by
Christian Brabandt
parent
afe0466fb1
commit
3fc7a7e44a
@ -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), '-\$\$', '-', ''))
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user