Add typescript support
This commit is contained in:
		
							parent
							
								
									1ce2e893f4
								
							
						
					
					
						commit
						4b5bc96115
					
				
							
								
								
									
										18
									
								
								after/ftplugin/typescript.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								after/ftplugin/typescript.vim
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| nnoremap <leader>gd <C-]> | ||||
| 
 | ||||
| 
 | ||||
| let g:tsuquyomi_disable_quickfix = 1 | ||||
| 
 | ||||
| let g:ale_linters = { | ||||
| \   'typescript': ['tsserver'], | ||||
| \} | ||||
| 
 | ||||
| call deoplete#custom#option('sources', { | ||||
|       \ 'typescript': ['ale', 'buffer', 'file', 'around'], | ||||
|       \}) | ||||
| 
 | ||||
| 
 | ||||
| call deoplete#custom#source('ale', 'rank', 999) | ||||
| call deoplete#custom#source('ale', 'input_pattern', '[^. *\t]\.\w*') | ||||
| 
 | ||||
| autocmd FileType typescript setlocal balloonexpr=tsuquyomi#balloonexpr() | ||||
							
								
								
									
										4
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								vimrc
									
									
									
									
									
								
							| @ -142,6 +142,10 @@ Plug 'idanarye/vim-vebugger', { 'for': 'python' } | ||||
| " scala | ||||
| Plug 'derekwyatt/vim-scala', { 'for': 'scala' } | ||||
| 
 | ||||
| " typescript | ||||
| Plug 'leafgarland/typescript-vim', { 'for': 'typescript' } | ||||
| Plug 'Quramy/tsuquyomi', { 'for': 'typescript' } | ||||
| 
 | ||||
| " color and beauty | ||||
| Plug 'tomasiser/vim-code-dark' | ||||
| Plug 'romainl/Apprentice' | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Julian Ospald
						Julian Ospald