Skip to content

Instantly share code, notes, and snippets.

@Citymonstret
Created December 21, 2019 10:55
Show Gist options
  • Select an option

  • Save Citymonstret/d040dcd8ec1313a1080d806737791e22 to your computer and use it in GitHub Desktop.

Select an option

Save Citymonstret/d040dcd8ec1313a1080d806737791e22 to your computer and use it in GitHub Desktop.
set termguicolors
call plug#begin()
Plug 'Shougo/deoplete.nvim'
let g:deoplete#enable_at_startup = 1
Plug 'joshdick/onedark.vim'
Plug 'itchyny/lightline.vim'
"Plug 'autoload/onedark.vim'"
Plug 'zchee/deoplete-clang'
let g:deoplete#sources#clang#libclang_path = '/usr/lib/x86_64-linux-gnu/libclang-8.so.1'
let g:deoplete#sources#clang#clang_header = '/usr/lib/clang'
Plug 'neomake/neomake'
call plug#end()
call neomake#configure#automake('nrwi', 500)
"Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
"(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
if (empty($TMUX))
if (has("nvim"))
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
endif
syntax on
colorscheme onedark
set number
set tabstop=2
set softtabstop=2
set expandtab
set shiftwidth=2
let g:lightline = {
\ 'colorscheme': 'onedark',
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment