Clean, add more TS support

This commit is contained in:
Thomas Gideon 2021-12-29 15:52:08 -05:00
parent 6fd08618c9
commit 1aa5379036
5 changed files with 128 additions and 52 deletions

View file

@ -12,10 +12,12 @@ source plug.vim
source airline.vim
source syntastic.vim
source fzf.vim
source rust.vim
source lsp.vim
source mapping.vim
source jsonnet.vim
source nerdtree.vim
source wiki.vim
source prettier.vim
exec "cd " . oldwd
" set up a line number on the current line but relative above and below to help
@ -118,16 +120,3 @@ noremap <C-Up> :call AdjustFontSize(1)<CR>
noremap <C-Down> :call AdjustFontSize(-1)<CR>
inoremap <C-Up> <Esc>:call AdjustFontSize(1)<CR>a
inoremap <C-Down> <Esc>:call AdjustFontSize(-1)<CR>a
" override the default location of vimwiki and change to markdown
let g:vimwiki_list = [{'path': '~/Documents/Wiki', 'syntax': 'markdown', 'ext': '.md'}]
let g:vimwiki_dir_link = 'index'
let g:vimwiki_global_ext = 0
let g:LanguageClient_serverCommands = {
\ 'rust': ['rust-analyzer'],
\ }
lua<<EOF
require('lspconfig').tsserver.setup{}
EOF