Added golang

This commit is contained in:
Marcin Woźniak 2021-09-29 20:17:26 +02:00
parent b0d7717c4e
commit 3a14cd8b4d
Signed by: y0rune
GPG Key ID: F204C385F57EB348
3 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,8 @@
"python",
"css",
"markdown",
"ruby"
"ruby",
"go"
],
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": false,

View File

@ -8,6 +8,8 @@ endif
let mapleader = "\<Space>"
let g:python3_host_prog = expand('/usr/src/python')
set laststatus=2
set autoindent
set noexpandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4
@ -138,7 +140,6 @@ set title
" indent
set backspace=indent,eol,start
set shiftwidth=4
set expandtab
set list listchars=nbsp,tab:»·,trail,extends:>
" editing

4
.zshrc
View File

@ -110,5 +110,9 @@ alias update-brew="brew upgrade --cask"
# Cleaning-up
export PATH=$HOME/.local/bin:$PATH
export PATH=/sbin:$PATH
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
[ -d $HOME/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
export HISTTIMEFORMAT="%F %T "