aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-04-17 10:15:55 +0200
committerGitHub <noreply@github.com>2022-04-17 10:15:55 +0200
commit6e6f5a783333d1bf9d6c719c896e72ac82e1ae54 (patch)
treef222e04ff0fb8b54079903361dd8b2fee06057aa /runtime/filetype.vim
parent670ecfc0cd81d7ec213591c96d45922390d109b9 (diff)
downloadrneovim-6e6f5a783333d1bf9d6c719c896e72ac82e1ae54.tar.gz
rneovim-6e6f5a783333d1bf9d6c719c896e72ac82e1ae54.tar.bz2
rneovim-6e6f5a783333d1bf9d6c719c896e72ac82e1ae54.zip
vim-patch:8.2.4767: openscad files are not recognized (#18138)
Problem: Openscad files are not recognized. Solution: Add a filetype pattern. (Niklas Adam, closes vim/vim#10199) https://github.com/vim/vim/commit/c360b2566ce2390d45d9436a6a85719fe2b387d5
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f7c0317eff..b6c183e712 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1271,6 +1271,9 @@ au BufNewFile,BufRead *.or setf openroad
" OPL
au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl
+" OpenSCAD
+au BufNewFile,BufRead *.scad setf openscad
+
" Oracle config file
au BufNewFile,BufRead *.ora setf ora