From 7c474e5c9218d870dabba00745220dff5aa671b2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 9 Jun 2021 17:00:24 +0200 Subject: Add OpenSCAD support, closes #702 --- autoload/polyglot/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autoload/polyglot/init.vim') diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 2c76d854..ac3bf8e8 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -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 -- cgit v1.2.3