diff options
author | Nbiba Bedis <bedisnbiba@gmail.com> | 2022-09-24 11:04:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-24 11:04:38 +0100 |
commit | 9fd1583c839c5e43b0d48ec815a79005a2364776 (patch) | |
tree | 454d6c538c0ef9d8acbf2e4b82da47397a0aac34 /src | |
parent | dfa8be4944b49c228d401e788aaade47b4abb658 (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 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index e66fd0c307..e2177e5037 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -387,6 +387,7 @@ let s:filename_checks = { \ 'neomuttrc': ['Neomuttrc', '.neomuttrc', '.neomuttrc-file', '/.neomutt/neomuttrc', '/.neomutt/neomuttrc-file', 'Neomuttrc', 'Neomuttrc-file', 'any/.neomutt/neomuttrc', 'any/.neomutt/neomuttrc-file', 'neomuttrc', 'neomuttrc-file'], \ 'netrc': ['.netrc'], \ 'nginx': ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'], + \ 'nim': ['file.nim', 'file.nims', 'file.nimble'], \ 'ninja': ['file.ninja'], \ 'nix': ['file.nix'], \ 'nqc': ['file.nqc'], diff --git a/src/version.c b/src/version.c index 386babf5c8..26eada3463 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 566, +/**/ 565, /**/ 564, |