5.7 KiB
5.7 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
- An explicit error message is issues when running Neovim versions < 0.5
0.7.1 – 2022-04-10
Changed
- The command list passed to
jobstart()(orjob_start()in Vim) is now properly formatted - A link to the
compile_commands.jsonfile is only created on a successful:CMakeGenerateand on a successful:CMakeSwitch - Symbolic links are created using the CMake command-line tool
cmake -E create_symlink
0.7.0 – 2022-03-16
Added
- MS-Windows is now supported, but only using Neovim for now
- The new command
:CMakeStopallows the user to stop the process currently running in the Vim-CMake console - The new configuration option
g:cmake_console_echo_cmdcontrols whether the Vim-CMake console should echo the running command before running the command itself - The new configuration option
g:cmake_log_filecontrols whether, and where, to store logs generated by the plugin
Changed
- Code has a new internal structure, and cyclic dependencies are removed
- The Vim-CMake console terminal does not make use of an external Bash script any longer, now the plugin is fully written in Vimscript
- Fixed searching of root path and build directory location
- Detecting CMake version now works also for packages which are not called just
cmake(for instance, thecmake3package in theepelrepo)
0.6.2 – 2021-08-02
Changed
-DCMAKE_BUILD_TYPEflag is now always added when running:CMakeGenerate- The hashbang for
bashinscripts/console.shhas been made more portable by using/usr/bin/env.
0.6.1 – 2021-06-19
Added
- Set
bufhidden=hideon the Vim-CMake buffer to avoid error E37 in some Vim instances.
Changed
- Running a command does not result in jumping into the Vim-CMake window and back in the background, thus reducing the number of unnecessarily triggered events.
0.6.0 – 2021-04-14
Added
g:cmake_build_dir_location, location of the build directory, relative to the project root.
Changed
- Usage of
:CMakeGenerate, now build configuration directory andCMAKE_BUILD_TYPEcan be controlled independently.
0.5.0 – 2021-02-22
Added
- Implemented user autocommands
CMakeBuildFailedandCMakeBuildSuceededto customize behaviour after:CMakeBuild
Changed
- Fixed bug that wouldn't make the console script run when Vim-CMake is installed in a directory that contains spaces.
- Make the
WinEnterautocmd in console.vim buffer-local. - Set correct source and build directories even when invoking Vim-CMake commands from subdirectory of root (source) directory.
- Internal implementation of
:CMakeGeneratemade more structured. - Automatically set the configuration option
CMAKE_EXPORT_COMPILE_COMMANDStoONwheng:cmake_link_compile_commandsis set to1. - Pass job callbacks directly to
jobstart/termopen.
0.4.0 – 2020-10-13
Added
g:cmake_generate_options, list of options to pass to CMake by default when running:CMakeGenerate.
Changed
- Fixed parsing command output in Vim to populate the quickfix list.
- Updated source code documentation format.
0.3.0 – 2020-09-01
Added
- Quickfix list population after each build.
0.2.2 – 2020-07-18
Changed
- Support for Airline is now provided in the vim-airline plugin, and disabling Airline's terminal extension is not needed anymore.
0.2.1 – 2020-07-15
Changed
- Pass absolute path to
findfile()when searching for existing build configurations.
0.2.0 – 2020-07-12
Added
:CMakeSwitchcommand, and<Plug>(CMakeSwitch)mapping, to switch between build configurations.g:cmake_default_config, the default build configuration on start-up.- Print Vim-CMake updates when new version is pulled.
Changed
:CMakeGeneratecan be called with build configuration as a direct option, e.g.,:CMakeGenerate Release.
Removed
g:cmake_default_build_dir.
0.1.1 – 2020-06-11
Changed
:CMakeBuild!and:CMakeInstallnow use the native--clean-firstand--installCMake options.- Fix error when vim-airline not loaded and polish statusline/Airline output.
Removed
:CMakeBuildClean, as:CMakeBuild!should cover most of the use cases, and:CMakeBuild cleancan still be used.
0.1.0 – 2020-05-09
First version.