Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()¬
- " alternatively, pass a path where Vundle should install plugins call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required¬
- Plugin 'VundleVim/Vundle.vim'¬
- Plugin 'tpope/vim-sensible'¬
- Plugin 'tpope/vim-fugitive'¬
- Plugin 'vim-airline/vim-airline'¬
- Plugin 'vim-syntastic/syntastic'¬
- Plugin 'RRethy/vim-illuminate'¬
- Plugin 'flazz/vim-colorschemes'¬
- Plugin 'ntpeters/vim-better-whitespace'¬
- Plugin 'airblade/vim-gitgutter'¬
- Plugin 'tomtom/tcomment_vim'¬
- ¬
- Plugin 'prabirshrestha/async.vim'¬
- Plugin 'prabirshrestha/vim-lsp'¬
- ¬
- ¬
- call vundle#end() " required¬
- filetype plugin indent on " required¬
- ¬
- " enable syntax and plugins (for netrw)¬
- syntax enable¬
- filetype plugin on¬
- ¬
- let g:syntastic_always_populate_loc_list = 1¬
- ¬
- hi illuminatedWord cterm=underline gui=underline¬
- ¬
- " FINDING FILES:¬
- set path+=**¬
- ¬
- set tabstop=4¬
- set shiftwidth=4¬
- set expandtab¬
- ¬
- set wildmenu¬
- set number¬
- set ruler¬
- set autoindent¬
- set smartindent¬
- set cindent¬
- set colorcolumn=80¬
- ¬
- set foldmethod=syntax¬
- set foldnestmax=10¬
- set nofoldenable¬
- set foldlevel=2¬
- ¬
- set list¬
- set listchars=tab:›\ ,eol:¬,trail:⋅¬
- ¬
- " Highlight extra whitespace¬
- highlight ExtraWhitespace ctermbg=red guibg=red¬
- ¬
- if executable('clangd')¬
- augroup lsp_clangd¬
- autocmd!¬
- autocmd User lsp_setup call lsp#register_server({¬
- \ 'name': 'clangd',¬
- \ 'cmd': {server_info->['clangd']},¬
- \ 'whitelist': ['c', 'cpp', 'objc', 'objcpp'],¬
- \ })¬
- autocmd FileType c setlocal omnifunc=lsp#complete¬
- augroup end¬
- endif¬
- ¬
- let g:lsp_log_verbose = 1¬
- let g:lsp_log_file = expand('~/vim-lsp.log')¬
- ¬
- "set bg=light¬
- "colorscheme fruidle¬
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement