dotfiles/vim/.vim/compiler/esp_old.vim

24 lines
487 B
VimL
Raw Permalink Normal View History

" Vim compiler file modified for llvm esp
" Compiler: llvm
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2023-10-19
" forking by tonitch
if exists("current_compiler")
finish
endif
let current_compiler = "esp"
let s:cpo_save = &cpo
set cpo&vim
let g:ycm_clangd_binary_path="/opt/llvm-esp/esp-clang/bin/clangd"
YcmRestartServer
let &makeprg="idf.py -C .."
"Should do a CompilerSet One day
let &cpo = s:cpo_save
unlet s:cpo_save