<commit_before>NeoBundleLazy 'dgryski/vim-godef', {'autoload': {'filetypes': ['go']}}
NeoBundleLazy 'fatih/vim-go', {'autoload': {'filetypes': ['go']}}
NeoBundleLazy 'vim-jp/vim-go-extra', {'autoload': {'filetypes': ['go']}}

augroup Golang
  autocmd!
  autocmd FileType go setlocal completeopt-=preview
augroup END

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

au BufNewFile,BufRead *.go set sw=4 noexpandtab ts=4 completeopt=menu,preview
au FileType go compiler go<commit_msg>[nvim] highlight err<commit_after>NeoBundleLazy 'dgryski/vim-godef', {'autoload': {'filetypes': ['go']}}
NeoBundleLazy 'fatih/vim-go', {'autoload': {'filetypes': ['go']}}
NeoBundleLazy 'vim-jp/vim-go-extra', {'autoload': {'filetypes': ['go']}}

augroup golang
  autocmd!
  autocmd FileType go setlocal completeopt-=preview
  autocmd FileType go :highlight goErr cterm=bold ctermfg=214
  autocmd FileType go :match goErr /\<err\>/
augroup END

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

au BufNewFile,BufRead *.go set sw=4 noexpandtab ts=4 completeopt=menu,preview
au FileType go compiler go
{'fraction_non_alphanumeric': 0.13333333333333333, 'fraction_numerical': 0.012878787878787878, 'mean_word_length': 6.680232558139535, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6944201', 'n_tokens_mistral': 526, 'n_tokens_neox': 480, 'n_words': 120}