summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorNbiba Bedis <bedisnbiba@gmail.com>2022-09-24 11:04:38 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-24 11:04:38 +0100
commit9fd1583c839c5e43b0d48ec815a79005a2364776 (patch)
tree454d6c538c0ef9d8acbf2e4b82da47397a0aac34 /runtime
parentdfa8be4944b49c228d401e788aaade47b4abb658 (diff)
patch 9.0.0566: Nim files are not recognizedv9.0.0566
Problem: Nim files are not recognized. Solution: Add patterns for Nim files. (Nbiba Bedis, closes #11205)
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 17697a1297..e537d93311 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1278,6 +1278,9 @@ au BufNewFile,BufRead .netrc setf netrc
" Nginx
au BufNewFile,BufRead *.nginx,nginx*.conf,*nginx.conf,*/etc/nginx/*,*/usr/local/nginx/conf/*,*/nginx/*.conf setf nginx
+" Nim file
+au BufNewFile,BufRead *.nim,*.nims,*.nimble setf nim
+
" Ninja file
au BufNewFile,BufRead *.ninja setf ninja