polyglot -> semshi

This commit is contained in:
Henrik Bakken
2021-04-05 03:18:15 +02:00
parent 63b7dd5e24
commit 7f2a0c4f3c
+3 -6
View File
@@ -23,7 +23,6 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'}
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'antoinemadec/coc-fzf', {'branch': 'master'} Plug 'antoinemadec/coc-fzf', {'branch': 'master'}
Plug 'sheerun/vim-polyglot' " language syntax
Plug 'tpope/vim-abolish' " better search replace Plug 'tpope/vim-abolish' " better search replace
" git " git
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
@@ -43,6 +42,8 @@ Plug 'tpope/vim-sensible'
Plug 'dkarter/bullets.vim' Plug 'dkarter/bullets.vim'
" python " python
Plug 'tmhedberg/SimpylFold' Plug 'tmhedberg/SimpylFold'
Plug 'Vimjas/vim-python-pep8-indent'
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
" tmux " tmux
Plug 'christoomey/vim-tmux-navigator' " integrate movement in tmux and vim Plug 'christoomey/vim-tmux-navigator' " integrate movement in tmux and vim
" aesthetics " aesthetics
@@ -127,7 +128,6 @@ set number " Line numbers on
" parentheses " parentheses
set showmatch " Show matching brackets/parentthesis set showmatch " Show matching brackets/parentthesis
set matchtime=5 " Show matching time
" files and encodings " files and encodings
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
@@ -138,8 +138,6 @@ set smartindent
" folds " folds
set foldmethod=indent set foldmethod=indent
set foldlevel=2
set foldnestmax=10
set nofoldenable set nofoldenable
let g:SimpylFold_docstring_preview = 1 let g:SimpylFold_docstring_preview = 1
let g:SimpylFold_fold_docstring = 1 let g:SimpylFold_fold_docstring = 1
@@ -397,8 +395,7 @@ function! CleanEmptyBuffers()
endfunction endfunction
augroup myAu " A unique name for the group. DO NOT use the same name twice! augroup myAu " A unique name for the group. DO NOT use the same name twice!
autocmd! autocmd!
autocmd FileType python set tabstop=4 softtabstop=4 shiftwidth=4 autocmd FileType markdown,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2
autocmd FileType markdown,yaml set tabstop=2 softtabstop=2 shiftwidth=2
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disables automatic commenting on newline autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " Disables automatic commenting on newline
autocmd BufEnter * if &filetype == "" | setlocal ft=none | endif " default new file is none autocmd BufEnter * if &filetype == "" | setlocal ft=none | endif " default new file is none
autocmd FileType * RainbowParentheses autocmd FileType * RainbowParentheses