-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
80 lines (63 loc) · 2.35 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# do first git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'https://github.com/posva/vim-vue'
Plugin 'https://github.com/tomasr/molokai'
Plugin 'https://github.com/pangloss/vim-javascript'
Plugin 'https://github.com/w0rp/ale'
" Plugin 'https://github.com/fatih/vim-go'
" All of your Plugins must be added before the following line
call vundle#end() " required
syntax enable
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
" filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" https://medium.com/@alexlafroscia/writing-js-in-vim-4c971a95fd49
" let g:ale_fixers = {
" \ `javascript`: [`eslint`]
" \ }
" let g:LanguageClient_serverCommands = {
" \ 'vue': ['vls']
" \ }
let g:ale_linters = {
\ 'go': ['gopls'],
\}
let g:go_version_warning = 0
let g:rehash256 = 1
" ==== ALE SETTINGS ====
" Set this setting in vimrc if you want to fix files automatically on save.
" This is off by default.
" let g:ale_fix_on_save = 1
" Enable completion where available.
" let g:ale_completion_enabled = 1
" colorscheme molokai
" autocmd FileType vue syntax sync fromstart
" set tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab shiftwidth=2 smarttab
set tabstop=2 shiftwidth=2 softtabstop=2 expandtab shiftwidth=2 smarttab
set expandtab
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
set list
" set listchars=eol:¬,trail:·,tab:▸\
set listchars=trail:·,tab:-▸
set hlsearch " highlight all search results
set ignorecase " do case insensitive search
set incsearch " show incremental search results as you type
set number " display line number
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
set list