[Github-comments] [geany/geany] Add support for Apple Swift language (#1265)

Ankit Pati notifications at xxxxx
Sat Nov 26 13:12:28 UTC 2016


ankitpati commented on this pull request.



> +
+# 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
+
+[build-menu]
+FT_00_LB=chmod +x
+FT_00_CM=chmod +x "%f"
+FT_00_WD=

On Unix-like systems, Swift files can be executed as scripts using shebangs, as shown in the code below. That requires the execute bit to be set.

```
#!/usr/bin/env swift

import Glibc
import Foundation

print("hello, world")
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1265
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161126/d69976a5/attachment.html>


More information about the Github-comments mailing list