2038993370a1b4dd2ac0db0c97bd0b683d65ee47

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Enable coc-go extension

Diff

 1diff --git a/dot_config/zsh/functions/dssh b/dot_config/zsh/functions/dssh
 2index 5bcfeb7d6e09558a394ace2ef8aa70039eae4057..40935e1c64914a11bad0bffa5a66e210fb39feb0 100644
 3--- a/dot_config/zsh/functions/dssh
 4+++ b/dot_config/zsh/functions/dssh
 5@@ -4,7 +4,6 @@
 6 SSH_KEY=~/.ssh/id_dune
 7 SSH_USER=ubuntu
 8 AWS_DEFAULT_REGION=eu-west-1
 9-export AWS_PROFILE=dune
10 if [ -z "$1" ]; then echo "Usage: dssh instance-name" && return 1; fi
11 INSTANCE_DETAILS=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=$1" --output text --query 'Reservations[0].Instances[0].[InstanceId,Placement.AvailabilityZone]')
12 if [ $? -ne 0 ] ; then echo "Failed to describe instances. Check you are logged into AWS with MFA." && return 1; fi
13diff --git a/dot_spacevim b/dot_spacevim
14index 2a6bd343b873410930cc2fdf6287bb7ed66b6e50..99fa68f30594af0ea095dcdf2ffb9d5c33a765bc 100644
15--- a/dot_spacevim
16+++ b/dot_spacevim
17@@ -274,5 +274,5 @@ function! UserConfig()
18 	let g:NERDDefaultAlign = 'left'
19 
20 	" Coc extensions
21-	let g:coc_global_extensions = ['coc-json', 'coc-jedi', 'coc-tsserver', 'coc-vetur']
22+	let g:coc_global_extensions = ['coc-json', 'coc-jedi', 'coc-tsserver', 'coc-vetur', 'coc-go']
23 endfunction