Skip to content

Instantly share code, notes, and snippets.

@kiichi
Last active February 23, 2016 20:33
Show Gist options
  • Select an option

  • Save kiichi/f0b860c99c18d997e752 to your computer and use it in GitHub Desktop.

Select an option

Save kiichi/f0b860c99c18d997e752 to your computer and use it in GitHub Desktop.
.vimrc
set noautoindent
set ignorecase
set shell=sh
set showmatch
set showmode
set shiftwidth=4
set tabstop=4
set edcompatible
set nocompatible
set magic
syntax on
set nu
set background=dark
set scrolloff=7
set nowrap
set paste
set hlsearch
set ruler
set cursorline
"set ai
"colorscheme blue
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
" Note: Skip initialization for vim-tiny or vim-small.
if !1 | finish | endif
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" My Bundles here:
" Refer to |:NeoBundle-examples|.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
NeoBundle 'fatih/vim-go'
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
""""""""""""""""""""""""""""""""""""""""""
" GO
""""""""""""""""""""""""""""""""""""""""""
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
@kiichi
Copy link
Copy Markdown
Author

kiichi commented Feb 23, 2016

After installing vim for Windows go to

C:\Program Files\Vim\vim73\syntax

Copy Everything from that directory into

C:\Program Files\Git\share\vim\vim73\syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment