forked from aniani/vim
patch 9.0.1539: typst filetype is not recognized
Problem: Typst filetype is not recognized. Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363)
This commit is contained in:
committed by
Bram Moolenaar
parent
411da64e77
commit
4ce1bda869
@@ -2058,7 +2058,10 @@ au BufNewFile,BufRead *.spy,*.spi setf spyce
|
||||
au BufNewFile,BufRead squid.conf setf squid
|
||||
|
||||
" SQL for Oracle Designer
|
||||
au BufNewFile,BufRead *.tyb,*.typ,*.tyc,*.pkb,*.pks setf sql
|
||||
au BufNewFile,BufRead *.tyb,*.tyc,*.pkb,*.pks setf sql
|
||||
|
||||
" *.typ can be either SQL or Typst files
|
||||
au BufNewFile,BufRead *.typ call dist#ft#FTtyp()
|
||||
|
||||
" SQL
|
||||
au BufNewFile,BufRead *.sql call dist#ft#SQL()
|
||||
|
||||
Reference in New Issue
Block a user