diff options
Diffstat (limited to 'filetypes.OpenSCAD.conf')
-rw-r--r-- | filetypes.OpenSCAD.conf | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/filetypes.OpenSCAD.conf b/filetypes.OpenSCAD.conf new file mode 100644 index 000000000000..85a83b2fd53d --- /dev/null +++ b/filetypes.OpenSCAD.conf @@ -0,0 +1,39 @@ +# Based on file by werg
+# For complete documentation of this file, please see Geany's main documentation
+[styling=C]
+
+[keywords]
+# all items must be in one line
+primary=module function cube cylinder square circle sphere polyhedron square circle polygon import_dxf import_stl difference union intersection render include use projection
+secondary= translate rotate scale mirror hull multimatrix color minkowski $fn $fs $fa linear_extrude rotate_extrude if else for abs acos asin atan atan2 ceil cos exp floor ln log lookup sqrt tan sin sign round rands pow min max str
+# these are some doxygen keywords (incomplete)
+docComment=
+
+[settings]
+lexer_filetype=C
+
+# default extension used when saving files
+extension=scad
+
+# the following characters are these which a "word" can contains, see documentation
+#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+
+# single comments, like # in this file
+comment_single=//
+# multiline comments
+comment_open=/*
+comment_close=*/
+
+comment_use_indent=true
+
+[indentation]
+width=2
+type=0
+
+#[build_settings]
+# %f will be replaced by the complete filename
+# %e will be replaced by the filename without extension
+# (use only one of it at one time)
+#compiler=g++ -Wall -c "%f"
+#linker=g++ -Wall -o "%e" "%f"
+#run_cmd="./%e"
|