diff options
author | Yinzuo Jiang <jiangyinzuo@foxmail.com> | 2024-08-15 18:28:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 10:28:01 +0000 |
commit | f3677c71f04ee6ef52449664dfb37f0477fd7305 (patch) | |
tree | 31af8417a2331b23fdc32584a8baf18733311121 /src/nvim/diff.c | |
parent | 40bc48479dca0d4a02c6445ceccab700847dcbe9 (diff) | |
download | rneovim-f3677c71f04ee6ef52449664dfb37f0477fd7305.tar.gz rneovim-f3677c71f04ee6ef52449664dfb37f0477fd7305.tar.bz2 rneovim-f3677c71f04ee6ef52449664dfb37f0477fd7305.zip |
vim-patch:fc762df: runtime(sql, mysql): fix E169: Command too recursive 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
https://github.com/vim/vim/commit/fc762dfc9fa95696409067bcb565e846c9ccfc5a
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/diff.c')
0 files changed, 0 insertions, 0 deletions