Skip to content

Commit 04144ac

Browse files
authored
Merge pull request #26 from Diogo-ss/25-file-type-openscad
25 file type openscad
2 parents 9e816c7 + 345bbe2 commit 04144ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/42header/utils/header.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ function M.comment_symbols()
2929

3030
if vim.tbl_contains({ "c", "cc", "cpp", "cxx", "tpp" }, vim.bo.filetype) then
3131
str = "/* %s */"
32+
elseif vim.bo.filetype == "openscad" then
33+
str = "// %s #"
3234
end
3335

3436
-- Checks the buffer has a valid commentstring.

0 commit comments

Comments
 (0)