Skip to content

Instantly share code, notes, and snippets.

@griimick
Created April 29, 2021 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griimick/96b5a19ad5b7334a6fa99e5f1467c123 to your computer and use it in GitHub Desktop.
Save griimick/96b5a19ad5b7334a6fa99e5f1467c123 to your computer and use it in GitHub Desktop.
VIM Vite Typescipt
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'sheerun/vim-polyglot'
Plugin 'morhetz/gruvbox'
Plugin 'neoclide/coc.nvim', {'branch': 'release'}
let g:coc_disable_startup_warning = 1
call vundle#end() " required
filetype plugin indent on " required
""""""""""""""""""""""""""
" BEST COLORSCHEME PERIOD
color gruvbox
set background=dark
""""""""""""""""""""""""""
""""""""""""""""""""""""""""""
" Conqueror of Completion COC
"
let g:coc_global_extensions = [
\ 'coc-tsserver'
\ ]
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
let g:coc_global_extensions += ['coc-prettier']
endif
if isdirectory('./node_modules') && isdirectory('./node_modules/eslint')
let g:coc_global_extensions += ['coc-eslint']
endif
nnoremap <silent> K :call CocAction('doHover')<CR>
""""""""""""""""""""""""""""""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment