From 7217c7749e5403c9c7856c1d12c7986eb9c3b460 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 31 Mar 2020 17:52:49 +0300 Subject: Goodbye vim, been using neovim for ages now; home directory cleanup --- .../.vim/autoload/neomake/makers/ft/typescript.vim | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 dotfiles/.vim/autoload/neomake/makers/ft/typescript.vim (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/typescript.vim') diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/typescript.vim b/dotfiles/.vim/autoload/neomake/makers/ft/typescript.vim deleted file mode 100644 index 4d011b7..0000000 --- a/dotfiles/.vim/autoload/neomake/makers/ft/typescript.vim +++ /dev/null @@ -1,45 +0,0 @@ -" vim: ts=4 sw=4 et - -function! neomake#makers#ft#typescript#EnabledMakers() abort - return ['tsc', 'tslint'] -endfunction - -function! neomake#makers#ft#typescript#tsc() abort - " tsc should not be passed a single file. - let maker = { - \ 'args': ['--noEmit', '--watch', 'false', '--pretty', 'false'], - \ 'append_file': 0, - \ 'errorformat': - \ '%E%f %#(%l\,%c): error %m,' . - \ '%E%f %#(%l\,%c): %m,' . - \ '%Eerror %m,' . - \ '%C%\s%\+%m' - \ } - let config = neomake#utils#FindGlobFile('tsconfig.json') - if !empty(config) - let maker.args += ['--project', config] - endif - return maker -endfunction - -function! neomake#makers#ft#typescript#tslint() abort - " NOTE: output format changed in tslint 5.12.0. - let maker = { - \ 'args': ['-t', 'prose'], - \ 'errorformat': '%-G,' - \ .'%EERROR: %f:%l:%c - %m,' - \ .'%WWARNING: %f:%l:%c - %m,' - \ .'%EERROR: %f[%l\, %c]: %m,' - \ .'%WWARNING: %f[%l\, %c]: %m', - \ } - let config = neomake#utils#FindGlobFile('tsconfig.json') - if !empty(config) - let maker.args += ['--project', config] - let maker.cwd = fnamemodify(config, ':h') - endif - return maker -endfunction - -function! neomake#makers#ft#typescript#eslint() abort - return neomake#makers#ft#javascript#eslint() -endfunction -- cgit v1.2.3