mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
19 lines
515 B
VimL
Vendored
19 lines
515 B
VimL
Vendored
filetype off
|
|
set runtimepath+=$HOME/.vim/plugged/vader.vim
|
|
set runtimepath+=../
|
|
filetype plugin indent on
|
|
syntax enable
|
|
autocmd! filetype css set shiftwidth=2
|
|
autocmd! filetype python set shiftwidth=4
|
|
autocmd! filetype javascript set shiftwidth=4
|
|
autocmd! BufRead *.ts set filetype=typescript
|
|
autocmd! BufRead *.cp set filetype=copy
|
|
set nocompatible
|
|
set noswapfile
|
|
|
|
" seems like cp doesn't have standard exit codes
|
|
let g:neoformat_copy_cp = {
|
|
\ 'exe': 'exit64',
|
|
\ 'valid_exit_codes': [1, 64],
|
|
\ }
|