diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 17:00:24 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-09 17:00:24 +0200 |
commit | 7c474e5c9218d870dabba00745220dff5aa671b2 (patch) | |
tree | 0939e06ae13b4145bfb5e2fe98bf3c86ce491c2f /autoload/polyglot/init.vim | |
parent | 1a096f0901264629947afb89436019895e5e7ef5 (diff) | |
download | vim-polyglot-7c474e5c9218d870dabba00745220dff5aa671b2.tar.gz vim-polyglot-7c474e5c9218d870dabba00745220dff5aa671b2.zip |
Add OpenSCAD support, closes #702
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r-- | autoload/polyglot/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 |