Created
June 16, 2020 09:48
-
-
Save 5st7/d640829b3eb14bf91c7704161afdc9ba 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
" for Python | |
let g:python_host_prog = $PYENV_ROOT.'/versions/neovim2/bin/python' | |
let g:python3_host_prog = $PYENV_ROOT.'/versions/neovim3/bin/python' | |
" for dein.vim | |
if &compatible | |
set nocompatible | |
endif | |
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim | |
if dein#load_state('~/.cache/dein') | |
call dein#begin('~/.cache/dein') | |
call dein#load_toml('~/.config/nvim/dein.toml', {'lazy': 0}) | |
call dein#load_toml('~/.config/nvim/dein_lazy.toml', {'lazy': 1}) | |
call dein#end() | |
call dein#save_state() | |
endif | |
if dein#check_install() | |
call dein#install() | |
endif | |
lua require'nvim_lsp'.solargraph.setup{} | |
lua require'nvim_lsp'.tsserver.setup{} | |
filetype plugin indent on | |
syntax enable | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
set backspace=indent,eol,start | |
set number | |
set expandtab | |
set autoindent | |
set incsearch | |
set ignorecase | |
set shiftwidth=2 | |
set laststatus=2 | |
set tabstop=2 | |
set spell spelllang=en_us | |
inoremap jk <ESC> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment