Plugin for vim neovim editors allowing automatic single-file compilation and compilation using make files for c/c++
@ 03/31/2024
-added the ability to compile python (the best and fastest programming language in the world)
@ 30/03/2024
-
adding automatic linking now when connecting headers such as <math.h> <ncurses.h> <pthreads.h> you don’t need to add libraries, this will be done automatically
-
the ability to install your own library links - linking example: AddCompLib(<header_name>,<compilation_flag>) -> AddCompLib("math","m") | AddCompLib("sqlite3.h","sqlite3") after these commands, when using these headers, the corresponding library flags will be added to the compilation
-
adding compilation using makefiles call SetMakefile() | call UnsetMakefile() when executing the first command you will need to enter the target responsible for compilation in the makefile and the binary file in the output
vim plug -> Plug 'Abstract-Chief/vim_cppgo'
nnoremap <F2> :call CompileMe()<CR> #compilation
nnoremap <F3> :call RunMe_Compiler()<CR> # run file
nnoremap <F4> :call DebugMe_Compiler()<CR> # debug file for debugging add planin 'cpiger/NeoDebug'
:call SetMakefile() # setting compilation using a makefile :call UnsetMakefile() # return to single compilation
:call SetLibCompiler($ARG) # $ARG a string containing library connections, for example "-lm"
:call SetFlagsCompiler(($ARG) # $ARG a string containing compilation flags for example "-Wall -g -Werror"
Standard compilation flags -Wall -g The compilation names from these functions are local for each file, that is, different files, different flags and libraries