cd ~/.textadept/modules
git clone https://github.com/rgieseke/textadept-go.git go
- Snippets
- Run and build commands
- Run source through
gofmt
for automatic formatting before saving - Highlight syntax errors when saving the file
You can configure the go format command in your .textadept/init.lua
, e.g.:
_M["go"] = require("go")
_M["go"].format_command = "goimports"
MIT