Update
This commit is contained in:
54
vimrc
54
vimrc
@@ -7,10 +7,11 @@ set shortmess+=A
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
|
||||
set backspace=2 " make backspace work like most other programs
|
||||
set backspace=indent,eol,start " backspace through everything in insert mode
|
||||
set cmdheight=1
|
||||
|
||||
let g:ctrlp_map = '<c-j>'
|
||||
set wildmenu
|
||||
" set wildmode=longest,list,full
|
||||
|
||||
" vim-plug settings (Plugin declaration)
|
||||
call plug#begin('~/.vim/plugged')
|
||||
@@ -23,11 +24,12 @@ Plug 'vim-scripts/genindent.vim'
|
||||
" Plug 'idris-hackers/idris-vim'
|
||||
"Plug 'yegappan/mru'
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } |
|
||||
\ Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' }
|
||||
"Plug 'vim-scripts/promela.vim'
|
||||
"Plug 'AndrewRadev/simple_bookmarks.vim'
|
||||
"Plug 'Keithbsmiley/swift.vim'
|
||||
Plug 'majutsushi/tagbar'
|
||||
" Plug 'majutsushi/tagbar'
|
||||
"Plug 'ternjs/tern_for_vim'
|
||||
Plug 'xolox/vim-easytags'
|
||||
Plug 'xolox/vim-misc'
|
||||
@@ -36,10 +38,10 @@ Plug 'Shougo/vimproc.vim', {'do' : 'make'}
|
||||
Plug 'sjbach/lusty'
|
||||
" Plug 'vim-airline/vim-airline'
|
||||
" Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'nixprime/cpsm', { 'do': 'PY3=ON ./install.sh' }
|
||||
Plug 'junegunn/fzf', { 'do': './install --bin' }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
" Plug 'junegunn/fzf', { 'do': './install --bin' }
|
||||
" Plug 'junegunn/fzf.vim'
|
||||
Plug 'liuchengxu/vista.vim'
|
||||
Plug 'sbdchd/neoformat'
|
||||
Plug 'AndrewRadev/bufferize.vim'
|
||||
" Plug 'vimwiki/vimwiki'
|
||||
@@ -49,6 +51,13 @@ Plug 'tpope/vim-scriptease'
|
||||
Plug 'Konfekt/FastFold'
|
||||
" Plug 'lambdalisue/vim-fullscreen'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
" Plug 'iberianpig/tig-explorer.vim'
|
||||
Plug 'hasufell/ghcup.vim'
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'dominikduda/vim_current_word'
|
||||
|
||||
" finder
|
||||
Plug 'liuchengxu/vim-clap', { 'do': { -> clap#installer#force_download() } }
|
||||
|
||||
|
||||
" scm
|
||||
@@ -63,8 +72,8 @@ Plug 'LucHermitte/local_vimrc'
|
||||
|
||||
" completion
|
||||
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer --go-completer --rust-completer --system-boost --system-libclang',
|
||||
\ 'for': ['c', 'go', 'clojure'],
|
||||
\ }
|
||||
\ 'for': ['c', 'go', 'clojure'],
|
||||
\ }
|
||||
" deoplete for haskell
|
||||
if has('nvim')
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins',
|
||||
@@ -83,9 +92,9 @@ endif
|
||||
" setting this per-language breaks "let g:LanguageClient_autoStart = 1",
|
||||
" Use release branch (Recommend)
|
||||
Plug 'autozimu/LanguageClient-neovim', {
|
||||
\ 'branch': 'next',
|
||||
\ 'do': 'bash ./install.sh'
|
||||
\ }
|
||||
\ 'branch': 'next',
|
||||
\ 'do': 'bash ./install.sh'
|
||||
\ }
|
||||
|
||||
" linting/compilation
|
||||
Plug 'w0rp/ale', {
|
||||
@@ -101,6 +110,7 @@ Plug 'w0rp/ale', {
|
||||
" completion based on ghc-mod, not LSP
|
||||
" Plug 'eagletmt/neco-ghc', { 'for': 'haskell' }
|
||||
" Plug 'lukerandall/haskellmode-vim', { 'for': 'haskell' }
|
||||
" Plug 'axelf4/vim-haskell'
|
||||
Plug 'neovimhaskell/haskell-vim', { 'for': ['haskell', 'cabal']}
|
||||
" Plug 'ucsd-progsys/liquid-types.vim', { 'for': 'haskell' }
|
||||
Plug 'bitc/lushtags', {
|
||||
@@ -111,7 +121,9 @@ Plug 'bitc/lushtags', {
|
||||
" Plug 'itchyny/vim-haskell-indent', { 'for': 'haskell' }
|
||||
" Plug 'dan-t/vim-hsimport', { 'for': 'haskell' }
|
||||
Plug 'Twinside/vim-hoogle', { 'for': 'haskell' }
|
||||
" Plug 'axelf4/vim-haskell', { 'for': 'haskell' }
|
||||
" Plug 'alx741/vim-hindent', { 'for': 'haskell' }
|
||||
Plug 'alx741/vim-stylishask', { 'for': 'haskell' }
|
||||
|
||||
|
||||
Plug 'luochen1990/rainbow', { 'for': ['clojure', 'haskell', 'python'] }
|
||||
|
||||
@@ -160,6 +172,21 @@ endif
|
||||
" Plug 'noahfrederick/vim-hemisu'
|
||||
" Plug 'morhetz/gruvbox'
|
||||
|
||||
" coc
|
||||
" Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell', 'rust', 'sh', 'python', 'vim']}
|
||||
" Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile', 'for': ['typescript']}
|
||||
" "Plug 'neoclide/coc-git', {'do': 'yarn install --frozen-lockfile'}
|
||||
" " Plug 'neoclide/coc-rls', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']}
|
||||
" Plug 'fannheyward/coc-rust-analyzer', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']}
|
||||
" Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell', 'rust', 'sh']}
|
||||
" " Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile', 'for': ['python']}
|
||||
" "Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell']}
|
||||
" Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile', 'for': ['json']}
|
||||
" " Plug 'neoclide/coc-eslint', {'do': 'yarn install --frozen-lockfile', 'for': ['']}
|
||||
" Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile', 'for': ['yaml']}
|
||||
" " Plug 'neoclide/coc-highlight', {'do': 'yarn install --frozen-lockfile', 'for': ['']}
|
||||
" Plug 'josa42/coc-sh', {'do': 'yarn install --frozen-lockfile', 'for': ['']}
|
||||
|
||||
" unmanaged
|
||||
Plug '~/.vim/unmanaged-vim-plug/bufonly'
|
||||
Plug '~/.vim/unmanaged-vim-plug/colorschemedegrade'
|
||||
@@ -227,6 +254,7 @@ set shiftwidth=4
|
||||
set directory=~/.vimtmp
|
||||
set modeline
|
||||
set modelines=1
|
||||
set autoindent
|
||||
|
||||
let g:nickID = 'hasufell'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user