summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorsalkin-mada <adam@oddodd.org>2022-04-16 21:33:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-16 21:33:54 +0100
commitc360b2566ce2390d45d9436a6a85719fe2b387d5 (patch)
tree366c548eb425dbc4fff36c9321986d6e23409e00 /runtime
parent93c7a45e86934a92ec513b437fe9b8cc343c53e3 (diff)
patch 8.2.4767: openscad files are not recognizedv8.2.4767
Problem: Openscad files are not recognized. Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
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 500f469236..7432c82801 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1275,6 +1275,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