From b7b33a847f1d4438b1343eb301612107ae4896f1 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 2 May 2022 01:33:25 -0700 Subject: vim coq --- .vimrc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index b1bdb02..525be82 100644 --- a/.vimrc +++ b/.vimrc @@ -17,7 +17,6 @@ Plug 'vim-crystal/vim-crystal' Plug 'elixir-lang/vim-elixir' Plug 'https://git.airen-no-jikken.icu/ageha/every.vim.git' Plug 'pangloss/vim-javascript' -Plug 'MaxMEllon/vim-jsx-pretty' Plug 'JuliaEditorSupport/julia-vim' Plug 'leanprover/lean.vim' Plug 'plasticboy/vim-markdown' @@ -26,6 +25,10 @@ Plug 'rust-lang/rust.vim' Plug 'cakebaker/scss-syntax.vim' Plug 'cespare/vim-toml' +if has('python3') + Plug 'whonore/Coqtail' +endif + "FUNCTIONALITY Plug 'junegunn/vim-easy-align' @@ -232,7 +235,7 @@ fun! s:bufflist() set nomore execute "buffers" set more - elseif + else execute "buffers" endif endfun @@ -287,6 +290,7 @@ if has('autocmd') au FileType c call settings_c() au FileType coffee call settings_coffee() au FileType conf call settings_conf() + au FileType coq call settings_coq() au FileType cpp call settings_c() au FileType crystal call settings_crystal() au FileType cs call settings_c() @@ -420,6 +424,12 @@ fun! s:settings_conf() setlocal expandtab endfun +fun! s:settings_coq() + call settings_ocaml() + nnoremap x :$CoqToLine + nnoremap z :CoqToTop +endfun + fun! s:settings_crystal() call settings_script2() setlocal expandtab -- cgit v1.2.3