Browse Source

Add Tern and TypeScript plugins

master
raucao 9 months ago
parent
commit
c5b50e82c6
Signed by: raucao GPG Key ID: BE4634D632D39B67
5 changed files with 21 additions and 2 deletions
  1. +9
    -0
      .gitmodules
  2. +1
    -0
      bundle/tern_for_vim
  3. +1
    -0
      bundle/tsuquyomi
  4. +1
    -0
      bundle/vimproc.vim
  5. +9
    -2
      vimrc

+ 9
- 0
.gitmodules View File

@ -70,3 +70,12 @@
[submodule "bundle/vim-abolish"]
path = bundle/vim-abolish
url = git@github.com:tpope/vim-abolish.git
[submodule "bundle/tern_for_vim"]
path = bundle/tern_for_vim
url = git@github.com:ternjs/tern_for_vim.git
[submodule "bundle/vimproc.vim"]
path = bundle/vimproc.vim
url = git@github.com:Shougo/vimproc.vim.git
[submodule "bundle/tsuquyomi"]
path = bundle/tsuquyomi
url = git@github.com:Quramy/tsuquyomi.git

+ 1
- 0
bundle/tern_for_vim

@ -0,0 +1 @@
Subproject commit 994ffbe783da36d67786b6c66a4bf784c5eab300

+ 1
- 0
bundle/tsuquyomi

@ -0,0 +1 @@
Subproject commit 85fffd5939c8fc5750b35a937b965af2ad5b0b15

+ 1
- 0
bundle/vimproc.vim

@ -0,0 +1 @@
Subproject commit 51f4664c92f0f1b121127c84d3b1c901e1c698f0

+ 9
- 2
vimrc View File

@ -116,13 +116,13 @@ map <Leader>vr :VimroomToggle
let g:vimroom_width = 120
" CTags
map <Leader>ct :!/usr/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
map <Leader>ct :!/usr/bin/ctags -R --extra=+q .<CR>
set tags+=gems.tags
" Color scheme
colorscheme smyck
let g:syntastic_mode_map = { 'mode': 'active', 'active_filetypes': ['ruby', 'js', 'javascript'], 'passive_filetypes': ['puppet'] }
let g:syntastic_mode_map = { 'mode': 'active', 'active_filetypes': ['ruby', 'js', 'javascript', 'ts', 'typescript'], 'passive_filetypes': ['puppet'] }
let g:syntastic_javascript_checkers = ['eslint']
" Highlight the current line when in insert mode
@ -148,3 +148,10 @@ map <F5> <Plug>(xmpfilter-run)
autocmd filetype make setlocal noexpandtab
let g:ycm_server_python_interpreter = '/usr/bin/python3'
" TypeScript
let g:syntastic_typescript_checkers = ['eslint', 'tsuquyomi']
let g:tsuquyomi_disable_quickfix = 1
" Store swap files etc. in a central location instead of next to source files
set directory^=$HOME/.vim/tmp//

Loading…
Cancel
Save