diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-22 12:23:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 12:23:58 -0500 |
commit | 24b60322a25b7bc254663d9fc9fbb15cc348b850 (patch) | |
tree | 1b81b4bb63c16cb38eaead41be75885c2200f0da /runtime | |
parent | 93402606fa46a80dff2362920c85f4497ed2a216 (diff) | |
parent | 30ef922f3908edae9511c029da294b92f342a1cc (diff) | |
download | rneovim-24b60322a25b7bc254663d9fc9fbb15cc348b850.tar.gz rneovim-24b60322a25b7bc254663d9fc9fbb15cc348b850.tar.bz2 rneovim-24b60322a25b7bc254663d9fc9fbb15cc348b850.zip |
Merge pull request #13818 from janlazo/vim-8.2.2379
vim-patch:8.2.{2375,2379,2384,2385}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9104519451..1343a1fd0b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1733,8 +1733,13 @@ au BufNewFile,BufRead *.tli setf tli " Telix Salt au BufNewFile,BufRead *.slt setf tsalt -" Tera Term Language -au BufRead,BufNewFile *.ttl setf teraterm +" Tera Term Language or Turtle +au BufRead,BufNewFile *.ttl + \ if getline(1) =~ '^@\?\(prefix\|base\)' | + \ setf turtle | + \ else | + \ setf teraterm | + \ endif " Terminfo au BufNewFile,BufRead *.ti setf terminfo |