mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
vim-patch:8.2.2203: Moodle gift files are not recognized
Problem: Moodle gift files are not recognized.
Solution: Add a filetype pattern. (Delim Temizer)
b34f337472
This commit is contained in:
@@ -623,6 +623,9 @@ au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
|
|||||||
" Gedcom
|
" Gedcom
|
||||||
au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
|
au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
|
||||||
|
|
||||||
|
" Gift (Moodle)
|
||||||
|
autocmd BufRead,BufNewFile *.gift setf gift
|
||||||
|
|
||||||
" Git
|
" Git
|
||||||
au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG setf gitcommit
|
au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG setf gitcommit
|
||||||
au BufNewFile,BufRead *.git/config,.gitconfig,/etc/gitconfig setf gitconfig
|
au BufNewFile,BufRead *.git/config,.gitconfig,/etc/gitconfig setf gitconfig
|
||||||
|
@@ -181,6 +181,7 @@ let s:filename_checks = {
|
|||||||
\ 'gdb': ['.gdbinit'],
|
\ 'gdb': ['.gdbinit'],
|
||||||
\ 'gdmo': ['file.mo', 'file.gdmo'],
|
\ 'gdmo': ['file.mo', 'file.gdmo'],
|
||||||
\ 'gedcom': ['file.ged', 'lltxxxxx.txt'],
|
\ 'gedcom': ['file.ged', 'lltxxxxx.txt'],
|
||||||
|
\ 'gift': ['file.gift'],
|
||||||
\ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'],
|
\ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'],
|
||||||
\ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig'],
|
\ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig'],
|
||||||
\ 'gitolite': ['gitolite.conf'],
|
\ 'gitolite': ['gitolite.conf'],
|
||||||
|
Reference in New Issue
Block a user