summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bryan@octopart.com>2012-04-09 00:29:39 -0400
committerbnewbold <bryan@octopart.com>2012-04-09 00:29:39 -0400
commite603425579788e583e7cbf422a7aed2bbe57b932 (patch)
tree4ceafacc8607dc863e48188ab1dc57bdce3465d1
parent7021cd93f4630212e5088a2b5c22a49e91631d2c (diff)
downloadopenwrt-repro-e603425579788e583e7cbf422a7aed2bbe57b932.tar.gz
openwrt-repro-e603425579788e583e7cbf422a7aed2bbe57b932.zip
go-specific changes
-rw-r--r--.profile3
-rw-r--r--.vimrc6
2 files changed, 9 insertions, 0 deletions
diff --git a/.profile b/.profile
index 09acf6f..7fa270a 100644
--- a/.profile
+++ b/.profile
@@ -50,3 +50,6 @@ alias pe="cd ~/code/pdfextract; source bin/activate; cd src"
alias aws="read -s AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY && export AWS_ACCESS_KEY && export AWS_SECRET_ACCESS_KEY"
alias start_thriftdb="/var/lib/thriftdb-index/tomcat/thriftdb__development/bin/startup.sh"
+
+export GOROOT=/usr/local/go
+export PATH=$PATH:$GOROOT/bin
diff --git a/.vimrc b/.vimrc
index 3ee9c67..ed3c8bc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -122,3 +122,9 @@ augroup encrypted
autocmd BufWritePost,FileWritePost *.gpg set nobin
augroup END
+" disable go error highlighting crap
+let go_highlight_array_whitespace_error = 0
+let go_highlight_chan_whitespace_error = 0
+let go_highlight_extra_types = 0
+let go_highlight_space_tab_error = 0
+let go_highlight_trailing_whitespace_error = 0