Skip to content

Commit

Permalink
patch 8.2.4767: openscad files are not recognized
Browse files Browse the repository at this point in the history
Problem:    Openscad files are not recognized.
Solution:   Add a filetype pattern. (Niklas Adam, closes #10199)
  • Loading branch information
salkin-mada authored and brammool committed Apr 16, 2022
1 parent 93c7a45 commit c360b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/filetype.vim
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/testdir/test_filetype.vim
Expand Up @@ -384,6 +384,7 @@ let s:filename_checks = {
\ 'omnimark': ['file.xom', 'file.xin'],
\ 'opam': ['opam', 'file.opam', 'file.opam.template'],
\ 'openroad': ['file.or'],
\ 'openscad': ['file.scad'],
\ 'ora': ['file.ora'],
\ 'org': ['file.org', 'file.org_archive'],
\ 'pamconf': ['/etc/pam.conf', '/etc/pam.d/file', 'any/etc/pam.conf', 'any/etc/pam.d/file'],
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -746,6 +746,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4767,
/**/
4766,
/**/
Expand Down

0 comments on commit c360b25

Please sign in to comment.