From c398856dd4678e8ae0c09dc58b72f1cb593b1ab6 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 15 Jun 2023 09:46:25 +0530 Subject: [PATCH] nvim: compiler: Drop custom compiler files Now that we use LSP everywhere these are not required any more. --- nvim/.config/nvim/compiler/cargo.vim | 43 ---------------------------- nvim/.config/nvim/compiler/ghci.vim | 20 ------------- nvim/.config/nvim/compiler/stack.vim | 42 --------------------------- 3 files changed, 105 deletions(-) delete mode 100644 nvim/.config/nvim/compiler/cargo.vim delete mode 100644 nvim/.config/nvim/compiler/ghci.vim delete mode 100644 nvim/.config/nvim/compiler/stack.vim diff --git a/nvim/.config/nvim/compiler/cargo.vim b/nvim/.config/nvim/compiler/cargo.vim deleted file mode 100644 index b5fbc08..0000000 --- a/nvim/.config/nvim/compiler/cargo.vim +++ /dev/null @@ -1,43 +0,0 @@ -" Vim compiler file -" Compiler: Cargo Compiler -" Maintainer: Damien Radtke -" 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 -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: diff --git a/nvim/.config/nvim/compiler/ghci.vim b/nvim/.config/nvim/compiler/ghci.vim deleted file mode 100644 index b46d776..0000000 --- a/nvim/.config/nvim/compiler/ghci.vim +++ /dev/null @@ -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 diff --git a/nvim/.config/nvim/compiler/stack.vim b/nvim/.config/nvim/compiler/stack.vim deleted file mode 100644 index 10d659f..0000000 --- a/nvim/.config/nvim/compiler/stack.vim +++ /dev/null @@ -1,42 +0,0 @@ -" Vim compiler file -" Compiler: Haskell Stack -" Maintainer: Daniel Campoverde -" 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