-
-
Save cj/95337089bbc241407e7ae94e725e3ff0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Install plugin system. | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif | |
function! DoRemote(arg) | |
UpdateRemotePlugins | |
endfunction | |
call plug#begin('~/.vim/plugins') | |
set encoding=UTF-8 | |
" ---------------------------------------------------------------------------- | |
" Plugins: | |
" ---------------------------------------------------------------------------- | |
" Theme. | |
Plug 'joshdick/onedark.vim' | |
" A collection of language packs for Vim. | |
Plug 'sheerun/vim-polyglot' | |
\| Plug 'HerringtonDarkholme/yats.vim' | |
\| Plug 'othree/yajs.vim' | |
\| Plug 'styled-components/vim-styled-components', { 'branch' : 'develop' } | |
\| Plug 'plasticboy/vim-markdown' | |
call plug#end() | |
" ---------------------------------------------------------------------------- | |
" Plugin Settings: joshdick/onedark.vim | |
" ---------------------------------------------------------------------------- | |
set background=dark | |
let g:onedark_termcolors=16 | |
colorscheme onedark | |
" ---------------------------------------------------------------------------- | |
" Plugin Settings: sheerun/vim-polyglot | |
" ---------------------------------------------------------------------------- | |
let g:polyglot_disabled = ['typescript', 'markdown'] | |
let g:vim_markdown_folding_disabled = 1 | |
let g:yats_host_keyword = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const exampleCSS = css` | |
display: flex; | |
background-color: ${color('primary')}; | |
align-items: center; | |
padding: ${spacing('tiny')} 0; | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment