-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugins.vim
More file actions
66 lines (56 loc) · 1.81 KB
/
plugins.vim
File metadata and controls
66 lines (56 loc) · 1.81 KB
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
call plug#begin()
" Common plugins
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-endwise'
Plug 'preservim/nerdtree'
Plug 'airblade/vim-gitgutter'
Plug 'ton/vim-bufsurf'
Plug 'Vimjas/vim-python-pep8-indent'
" Theme plugins
Plug 'armannikoyan/rusty'
if has('nvim')
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
Plug 'rebelot/kanagawa.nvim'
endif
Plug 'dense-analysis/ale'
" Set this variable to 1 to fix files when you save them.
let g:ale_fix_on_save = 1
let g:ale_lsp_suggestions = 1
let g:ale_linters = {'python': 'all'}
let g:ale_fixers = {'python': ['isort', 'yapf', 'remove_trailing_lines', 'trim_whitespace']}
let g:ale_go_gofmt_options = '-s'
let g:ale_completion_enabled = 1
let g:ale_echo_msg_error_str = 'E'
let g:ale_echo_msg_warning_str = 'W'
let g:ale_echo_msg_format = '[%linter%] [%severity%] %code: %%s'
let g:ale_python_pylint_options = "--init-hook='import sys; sys.path.append(\".\")'"
Plug 'itchyny/lightline.vim'
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'component_function': {
\ 'filename': 'LightLineFilename'
\ },
\ 'active': {
\ 'right': [ [ 'lineinfo' ], ['percent'], [ 'fileformat', 'fileencoding', 'filetype' ] ]
\ }
\}
" Show filename in the status bar
function! LightLineFilename()
return expand('%#')
endfunction
Plug 'christoomey/vim-tmux-navigator'
Plug 'Townk/vim-autoclose'
Plug 'vim-ruby/vim-ruby'
Plug 'ervandew/supertab'
Plug 'pangloss/vim-javascript'
Plug 'slim-template/vim-slim'
let g:AutoClosePairs_add = "|"
Plug 'leafgarland/typescript-vim'
let g:typescript_indent_disable = 1
Plug 'ngmy/vim-rubocop'
let g:vimrubocop_config = '.rubocop.yml'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Initialize plugin system
" - Automatically executes `filetype plugin indent on` and `syntax enable`.
call plug#end()