diff options
author | Amaan Qureshi <amaanq12@gmail.com> | 2023-01-22 13:10:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-22 13:10:39 +0000 |
commit | 040e795e8da05ff38cc896528d4dcad100f0b584 (patch) | |
tree | 0f0c017166e7e60133e737a0b78a7d96c8f6e2c9 /runtime/filetype.vim | |
parent | 145a6afe3a4be54689af5233710c85346ba1e5da (diff) |
patch 9.0.1229: Cap'n Proto files are not recognizedv9.0.1229
Problem: Cap'n Proto files are not recognized.
Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi,
closes #11862)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index dcd83b4e1a..fae19b9f8c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -277,6 +277,9 @@ au BufNewFile,BufRead *.lpc,*.ulpc setf lpc " Calendar au BufNewFile,BufRead calendar setf calendar +" Cap'n Proto +au BufNewFile,BufRead *.capnp setf capnp + " C# au BufNewFile,BufRead *.cs,*.csx setf cs |