summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/go.vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-12-01 19:29:27 -0500
committerJesse Luehrs <doy@tozt.net>2022-12-01 19:29:27 -0500
commitd2f6e2bd0418d8aee0cc7a78471cfc8be1f00392 (patch)
tree3bfa05a23f220806b74b123398570b8901152699 /vim/ftplugin/go.vim
parent4fc4ce019d28a7b65201a11773a62ccf33b65e93 (diff)
downloadconf-d2f6e2bd0418d8aee0cc7a78471cfc8be1f00392.tar.gz
conf-d2f6e2bd0418d8aee0cc7a78471cfc8be1f00392.zip
some more vim filetype config
Diffstat (limited to 'vim/ftplugin/go.vim')
-rw-r--r--vim/ftplugin/go.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/ftplugin/go.vim b/vim/ftplugin/go.vim
index eb9c22a..c4c065b 100644
--- a/vim/ftplugin/go.vim
+++ b/vim/ftplugin/go.vim
@@ -1,3 +1,5 @@
setlocal ts=4
let b:ale_fixers = {"go": ["gofmt"]}
let b:ale_fix_on_save = 1
+
+map <buffer> <CR> :ALEGoToDefinition<CR>