commit 24fa81d50d409d61b36b77cef7fac79db71a8e24
parent 3afde9ba8b1a7ec2854fe21d77af0b201f94048f
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 5 Jan 2024 15:18:05 -0800
Eliminate go, bazel, toml plugins
vim-go is really heavyweight and all I really want is syntax
highlighting and indent.
I don't write much Blaze/Bazel {Sky,Star}lark code anymore, so dropping
that too.
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/vimrc b/vimrc
@@ -11,10 +11,7 @@ Plug 'rhysd/vim-clang-format' " clang-format.
Plug 'vim-scripts/spacehi.vim' " Highlight bad whitespace.
" Language support plugins.
-Plug 'cespare/vim-toml'
Plug 'dart-lang/dart-vim-plugin'
-Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
-Plug 'google/vim-ft-bzl'
Plug 'keith/swift.vim'
Plug 'rust-lang/rust.vim'
Plug 'https://gn.googlesource.com/gn', { 'rtp': 'misc/vim' }
@@ -84,15 +81,6 @@ let g:spacehi_tabcolor="ctermbg=red guibg=red"
set tags+=~/.local/tags/system.tags
set tags+=~/.local/tags/cxx.tags
-" Configure golang support.
-let g:go_fmt_command = "goimports"
-let g:go_highlight_functions = 1
-let g:go_highlight_methods = 1
-let g:go_highlight_structs = 1
-let g:go_highlight_operators = 1
-let g:go_highlight_build_constraints = 1
-let g:syntastic_go_checkers = ["go", "golint", "errcheck"]
-
" Snippets
nmap <leader>sch :0r ~/.vim/snippets/cc.h<CR>
nmap <leader>sci :0r ~/.vim/snippets/cc.cc<CR>