comparison runtime/filetype.vim @ 32415:8d7214baf422 v9.0.1539

patch 9.0.1539: typst filetype is not recognized Commit: https://github.com/vim/vim/commit/4ce1bda869e4ec0152d7dcbe1e491ceac5341d5e Author: Gaetan Lepage <gaetan@glepage.com> Date: Wed May 10 22:01:55 2023 +0100 patch 9.0.1539: typst filetype is not recognized Problem: Typst filetype is not recognized. Solution: Distinguish between sql and typst. (Gaetan Lepage, closes https://github.com/vim/vim/issues/12363)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 May 2023 23:15:04 +0200
parents d573c4b624b1
children 7d96dca159a1
comparison
equal deleted inserted replaced
32414:af8ecf2c7dfc 32415:8d7214baf422
2056 2056
2057 " Squid 2057 " Squid
2058 au BufNewFile,BufRead squid.conf setf squid 2058 au BufNewFile,BufRead squid.conf setf squid
2059 2059
2060 " SQL for Oracle Designer 2060 " SQL for Oracle Designer
2061 au BufNewFile,BufRead *.tyb,*.typ,*.tyc,*.pkb,*.pks setf sql 2061 au BufNewFile,BufRead *.tyb,*.tyc,*.pkb,*.pks setf sql
2062
2063 " *.typ can be either SQL or Typst files
2064 au BufNewFile,BufRead *.typ call dist#ft#FTtyp()
2062 2065
2063 " SQL 2066 " SQL
2064 au BufNewFile,BufRead *.sql call dist#ft#SQL() 2067 au BufNewFile,BufRead *.sql call dist#ft#SQL()
2065 2068
2066 " SQLJ 2069 " SQLJ