aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-24 15:34:52 +0100
committerGitHub <noreply@github.com>2023-02-24 15:34:52 +0100
commit4297127f14fa1b9062db7de0d63981887ebed063 (patch)
tree648edc3134bea5cdec5b6450a4e7a09969de179f /runtime
parent1803dadb209b9193ad8673b243091a4602b3a855 (diff)
downloadrneovim-4297127f14fa1b9062db7de0d63981887ebed063.tar.gz
rneovim-4297127f14fa1b9062db7de0d63981887ebed063.tar.bz2
rneovim-4297127f14fa1b9062db7de0d63981887ebed063.zip
vim-patch:9.0.1350: CPON files are not recognized (#22392)
Problem: CPON files are not recognized. Solution: Add patterns for CPON files. (Amaan Qureshi, closes vim/vim#12053) https://github.com/vim/vim/commit/c2254764bcada43eea894eb5852a26d5ac5ca8b0 Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 3a68b61914..5475f09444 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -242,6 +242,7 @@ local extension = {
csh = function(path, bufnr)
return require('vim.filetype.detect').csh(path, bufnr)
end,
+ cpon = 'cpon',
moc = 'cpp',
hh = 'cpp',
tlh = 'cpp',