summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-03-21 21:31:55 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-21 21:31:55 +0000
commitd0639d717ba7cf8b04b588aadd0b379ed43a5f1f (patch)
tree1edee2e6e4487e67209b467f7baf8bd8ca00ddb6 /runtime
parent8aa2a37f8983a7863afa32d9ffbe64b2f2bc70be (diff)
downloadvim-git-d0639d717ba7cf8b04b588aadd0b379ed43a5f1f.tar.gz
patch 9.0.1422: Sage files are not recognizedv9.0.1422
Problem: Sage files are not recognized. Solution: Add a pattern for Sage files. (Amaan Qureshi, closes #12176)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a1cff4631..90ba9613e 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1811,6 +1811,9 @@ au BufNewFile,BufRead Cargo.lock,*/.cargo/config,*/.cargo/credentials setf toml
" S-lang (or shader language, or SmallLisp)
au BufNewFile,BufRead *.sl setf slang
+" Sage
+au BufNewFile,BufRead *.sage setf sage
+
" Samba config
au BufNewFile,BufRead smb.conf setf samba