diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-30 11:47:59 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-05-30 11:49:08 +0800 |
| commit | 37abcdd04423b82765a360f28d556cb35ffd9ee9 (patch) | |
| tree | 5c01ec7ef3ef6198a806c9ac57c2c15d35a840cc /runtime/lua/vim | |
| parent | de8c2db57796a18d918def998526d68ae50c9ed0 (diff) | |
| download | rneovim-37abcdd04423b82765a360f28d556cb35ffd9ee9.tar.gz rneovim-37abcdd04423b82765a360f28d556cb35ffd9ee9.tar.bz2 rneovim-37abcdd04423b82765a360f28d556cb35ffd9ee9.zip | |
vim-patch:9.2.0562: filetype: SGF files are not recognized
Problem: filetype: SGF files are not recognized
Solution: Detect *.sgf as sgf filetype
(Borys Lykah)
Reference:
https://www.red-bean.com/sgf/index.html
closes: vim/vim#20349
https://github.com/vim/vim/commit/dda45ba88fef901ac524c158eaeb1ce799dde273
Co-authored-by: Borys Lykah <lykahb@fastmail.com>
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 4c89200f5d..92ed432e22 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1191,6 +1191,7 @@ local extension = { sdl = 'sdl', sed = 'sed', sexp = 'sexplib', + sgf = 'sgf', bash = detect.bash, bats = detect.bash, cygport = detect.bash, |