diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -100,6 +100,7 @@ call plug#begin() "Plug 'vim-scripts/AutoComplPop' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' +Plug 'szw/vim-maximizer' Plug 'ycm-core/YouCompleteMe' Plug 'airblade/vim-tailwind' Plug 'lambdalisue/fern.vim' @@ -118,8 +119,12 @@ Plug 'tpope/vim-fugitive' Plug 'SirVer/UltiSnips' Plug 'honza/vim-snippets' Plug 'dense-analysis/ale' +Plug 'tomasiser/vim-code-dark' call plug#end() +" maximize current split or return to previous +noremap <C-w>m :MaximizerToggle<CR> + " vim-tailwind function! s:is_tailwind() return !empty(findfile('tailwind.config.js', '.;')) || @@ -177,6 +182,7 @@ let g:ale_loclist_msg_format = '%linter% - %code: %%s' let g:ale_echo_msg_warning_str = 'Warning' let g:ale_linters = {'python': ['pyright', 'flake8', 'mypy'], \ 'ocaml': ['merlin'], +\ 'javascript': ['eslint'], \ 'cpp': ['clang'], \ 'yaml': ['yamllint'], \ 'c': ['clang'], @@ -184,6 +190,7 @@ let g:ale_linters = {'python': ['pyright', 'flake8', 'mypy'], \} let g:ale_fixers = { \ 'python': ['autoimport', 'isort', 'yapf', 'black'], +\ 'javascript': ['eslint'], \ 'go': ['gofmt'], \ 'rust': ['rustfmt'] \ } @@ -236,7 +243,7 @@ nmap <silent> ts :TestSuite<CR> nmap <silent> tl :TestLast<CR> nmap <silent> <leader>tv :TestVisit<CR> let test#strategy = "basic" -let test#python#pytest#options = '-q -s -n2' +let test#python#pytest#options = '-q -s' let test#python#runner = 'pytest' let test#vimterminal#term_position = "belowright" |