Add OpenSCAD support, closes #702

This commit is contained in:
Adam Stankiewicz
2021-06-09 17:00:24 +02:00
parent 1a096f0901
commit 7c474e5c92
7 changed files with 127 additions and 1 deletions

View File

@@ -169,6 +169,10 @@ let did_load_filetypes = 1
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
if !has_key(g:polyglot_is_disabled, 'openscad')
au BufNewFile,BufRead *.scad setf openscad
endif
if !has_key(g:polyglot_is_disabled, 'sway')
au BufNewFile,BufRead *sway/config setf sway
endif

View File

@@ -382,6 +382,7 @@ let s:globs = {
\ 'opam': '*.opam,*.opam.template,opam',
\ 'opencl': '*.cl,*.opencl',
\ 'openroad': '*.or',
\ 'openscad': '*.scad',
\ 'opl': '*.[Oo][Pp][Ll]',
\ 'ora': '*.ora',
\ 'pamconf': '',