forked from neovim/neovim
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vim-patch:fc762df: runtime(sql, mysql): fix E169: Command too recursi…
…ve with sql_type_default = "mysql" Problem: When setting "let g:sql_type_default = "mysql", editing .sql file reports "E169: Command too recursive" error Solution: - Add 'let b:did_ftplugin = 1' at the top of ftplugin/sql.vim - Add 'if exists("b:did_ftplugin") | finish | endif' in ftplugin/mysql.vim - Add missing header information in ftplugin/mysql.vim - Remove redundant code in ftplugin/sql.vim fixes: vim/vim#15474 closes: vim/vim#15475 vim/vim@fc762df Signed-off-by: Yinzuo Jiang <[email protected]> Signed-off-by: Riley Bruins <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
- Loading branch information
1 parent
40bc484
commit f3677c7
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
" Vim filetype plugin | ||
" Language: MySQL | ||
" Maintainer: Riley Bruins <[email protected]> | ||
" Last Change: 2024 Aug 12 | ||
if exists("b:did_ftplugin") | ||
finish | ||
endif | ||
|
||
runtime ftplugin/sql.vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters