commit df8aad409c50bcca981d2740917b9137a3819eb5
parent 5b4caa6199e2e300d4c02cf5217c24ba12eee5fc
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/.vim/vimrc b/.vim/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>