nvim: compiler: Drop custom compiler files

Now that we use LSP everywhere these are not required any more.
This commit is contained in:
Sanchayan Maity 2023-06-15 09:46:25 +05:30
parent e9f10fa776
commit c398856dd4
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
3 changed files with 0 additions and 105 deletions

View file

@ -1,43 +0,0 @@
" Vim compiler file
" Compiler: Cargo Compiler
" Maintainer: Damien Radtke <damienradtke@gmail.com>
" Latest Revision: 2014 Sep 24
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
if exists('current_compiler')
finish
endif
runtime compiler/rustc.vim
let current_compiler = "cargo"
" vint: -ProhibitAbbreviationOption
let s:save_cpo = &cpo
set cpo&vim
" vint: +ProhibitAbbreviationOption
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
endif
if exists('g:cargo_makeprg_params')
execute 'CompilerSet makeprg=cargo\ '.escape(g:cargo_makeprg_params, ' \|"').'\ $*'
else
CompilerSet makeprg=cargo\ $*
endif
" Ignore general cargo progress messages
CompilerSet errorformat+=
\%-G%\\s%#Downloading%.%#,
\%-G%\\s%#Compiling%.%#,
\%-G%\\s%#Finished%.%#,
\%-G%\\s%#error:\ Could\ not\ compile\ %.%#,
\%-G%\\s%#To\ learn\ more\\,%.%#,
\%-Gnote:\ Run\ with\ \`RUST_BACKTRACE=%.%#,
\%.%#panicked\ at\ \\'%m\\'\\,\ %f:%l:%c
" vint: -ProhibitAbbreviationOption
let &cpo = s:save_cpo
unlet s:save_cpo
" vint: +ProhibitAbbreviationOption
" vim: set et sw=4 sts=4 ts=8:

View file

@ -1,20 +0,0 @@
" Vim compiler file
" Compiler: Haskell repl - ghci
" Author: Maxime Bourget
if exists("current_compiler")
finish
endif
let current_compiler="ghci"
" inherit from stack settings
" compiler stack
let s:cpo_save = &cpo
set cpo&vim
CompilerSet makeprg=stack\ repl
CompilerSet errorformat+=%f:%.%l%.%c%.%#
let &cpo = s:cpo_save
unlet s:cpo_save

View file

@ -1,42 +0,0 @@
" Vim compiler file
" Compiler: Haskell Stack
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
" Latest Revision: 2018-08-27
if exists("current_compiler")
finish
endif
let current_compiler = "stack"
let s:cpo_save = &cpo
set cpo&vim
CompilerSet errorformat=
\%-G%.%#:\ build\ %.%#,
\%-G%.%#:\ configure\ %.%#,
\%-G[%.%#]%.%#,
\%-G%.%#preprocessing\ %.%#,
\%-G%.%#configuring\ %.%#,
\%-G%.%#building\ %.%#,
\%-G%.%#linking\ %.%#,
\%-G%.%#installing\ %.%#,
\%-G%.%#registering\ %.%#,
\%-G%.%#:\ copy/register%.%#,
\%-G%.%#process\ exited\ %.%#,
\%-G%.%#--builddir=%.%#,
\%-G--%.%#,
\%-G%.%#\|%.%#,
\%E%o\ %#>%f:%l:%c:\ error:,%+Z\ \ \ \ %m,
\%E%o\ %#>%f:%l:%c:\ error:\ %m,%-Z,
\%W%o\ %#>%f:%l:%c:\ warning:,%+Z\ \ \ \ %m,
\%W%o\ %#>%f:%l:%c:\ warning:\ %m,%-Z,
\%E%f:%l:%c:\ error:,%+Z\ \ \ \ %m,
\%E%f:%l:%c:\ error:\ %m,%-Z,
\%W%f:%l:%c:\ warning:,%+Z\ \ \ \ %m,
\%W%f:%l:%c:\ warning:\ %m,%-Z,
CompilerSet makeprg=stack\ --no-terminal
let &cpo = s:cpo_save
unlet s:cpo_save