Skip to content

Commit

Permalink
vim: setup tsx/jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
yokomizor committed Feb 27, 2022
1 parent 55e47f7 commit ff439b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ endif

"Plugins
call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdtree'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'leafgarland/typescript-vim'
Plug 'peitalin/vim-jsx-typescript'
call plug#end()

"Colors
set background=dark
"hi Pmenu ctermbg=white ctermfg=black
"hi CocFloat ctermfg=black
"hi CocHintFloat ctermfg=black

"Syntax highlighting
syntax enable
Expand All @@ -35,7 +39,9 @@ au FileType ruby setl sw=2 sts=2 et
au FileType erb setl sw=4 sts=4 et
au FileType html setl sw=2 sts=2 et
au FileType javascript setl sw=2 sts=2 et
au FileType javascriptreact setl sw=2 sts=2 et
au FileType typescript setl sw=2 sts=2 et
au FileType typescriptreact setl sw=2 sts=2 et
au FileType json setl sw=2 sts=2 et
au FileType css setl sw=2 sts=2 et
au FileType scss setl sw=4 sts=4 et
Expand Down

0 comments on commit ff439b9

Please sign in to comment.