Skip to content

Commit

Permalink
Update for TypeScript
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Feb 6, 2017
1 parent d714e0c commit c9d5181
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@
[submodule "lib/vim/vim-dirvish"]
path = lib/vim/vim-dirvish
url = https://github.com/justinmk/vim-dirvish
[submodule "lib/vim/tsuquyomi"]
path = lib/vim/tsuquyomi
url = https://github.com/Quramy/tsuquyomi
[submodule "lib/vim/vimproc.vim"]
path = lib/vim/vimproc.vim
url = https://github.com/Shougo/vimproc.vim
[submodule "lib/vim/vim-polyglot"]
path = lib/vim/vim-polyglot
url = https://github.com/sheerun/vim-polyglot
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,15 @@ git clone https://github.com/ervandew/supertab.git $DOTHOME/usr/vim/supertab
* [fzf.vim](https://github.com/junegunn/fzf.vim): fzf :heart: vim
* [neomake](https://github.com/neomake/neomake): Asynchronous linting and make framework for Neovim/Vim
* [pathogen.vim](https://github.com/tpope/vim-pathogen): Manage your runtimepath
* [tsuquyomi](https://github.com/Quramy/tsuquyomi): A Vim plugin for TypeScript
* [ultisnips](https://github.com/SirVer/ultisnips): The ultimate snippet solution for Vim
* [vim-commentary](https://github.com/tpope/vim-commentary): comment stuff out
* [vim-dirvish](https://github.com/justinmk/vim-dirvish): Directory viewer for Vim ⚡️
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A Git wrapper so awesome, it should be illegal
* [vim-gutentags](https://github.com/ludovicchabant/vim-gutentags): A Vim plugin that manages your tag files
* [vim-javacomplete2](https://github.com/artur-shaik/vim-javacomplete2): Updated javacomplete plugin for vim
* [vim-obsession](https://github.com/tpope/vim-obsession): continuously updated session files
* [vim-polyglot](https://github.com/sheerun/vim-polyglot): A solid language pack for Vim.
* [vim-repeat](https://github.com/tpope/vim-repeat): enable repeating supported plugin maps with "."
* [vim-rooter](https://github.com/airblade/vim-rooter): Changes Vim working directory to project root (identified by presence of known directory or file)
* [vim-snippets](https://github.com/honza/vim-snippets): contains snippets files for various programming languages
Expand Down
5 changes: 5 additions & 0 deletions config/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@

" VimWiki
let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
let g:vimwiki_global_ext=0

" EditorConfig
let g:EditorConfig_core_mode = 'external_command' " Speed up editorconfig plugin
Expand All @@ -387,6 +388,10 @@
call deoplete#enable()
endif

" Set patterns for TypeScript autocompletion
let g:deoplete#omni#input_patterns = get(g:,'deoplete#omni#input_patterns',{})
let g:deoplete#omni#input_patterns.typescript = ['[^. \t0-9]\.\w*']

" Fugitive
autocmd VimRc BufReadPost fugitive://* set bufhidden=delete
nnoremap <silent> <leader>gs :Gstatus<CR>
Expand Down
2 changes: 1 addition & 1 deletion lib/vim/deoplete.nvim
1 change: 1 addition & 0 deletions lib/vim/tsuquyomi
Submodule tsuquyomi added at 201d84
1 change: 1 addition & 0 deletions lib/vim/vimproc.vim
Submodule vimproc.vim added at 25cb83

0 comments on commit c9d5181

Please sign in to comment.