Patches are welcome via the usual mechanisms (pull requests, email, posting to the project issue tracker etc).
For more details, see the "command-t-development" section in the documentation.
- Update "command-t-history" section in
doc/command-t.txt
. - Edit metadata in
lua/wincent/commandt/version.lua
to reflect new$VERSION
. - Commit using
git commit -p -m "chore: prepare for $VERSION release"
. - Create tag with
git tag -s $VERSION -m "$VERSION release"
. - Check release readiness with
make check
. - Produce ZIP archive with
bin/create-archive
. - Upload new release to vim.org.
- Push with
git push --follow-tags
. - Update release notes on GitHub.
- Start a new entry under "command-t-history" in
doc/command-t.txt
for subsequent development.
Sometimes user bug reports depend on characteristics of their local setup. Reproducing this may require copying configuration and installing dependencies, something I'd rather not do to my own development system. So, here are some notes about setting up Vagrant on macOS to provide a disposable VM on which to try things out in a controlled environment.
brew install vagrant
brew install --cask virtualbox
vagrant init hashicorp/bionic64 # First time only; creates Vagrantfile.
vagrant up
vagrant ssh
There are lots of things that can go wrong, so here are a few links:
Which, among other things suggest these possible fixes:
sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
vagrant destroy -f
vagrant box remove hashicorp/bionic64
rm ~/Library/VirtualBox
For me, removing ~/Library/VirtualBox
did the trick.
sudo apt-get update
sudo apt-get install -y neovim # It's v0.2.2 🤦 — not going to be much help, so...
sudo apt-get install -y cmake gettext libtool libtool-bin pkg-config unzip # instead...
git clone https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
Manual install:
BUNDLE=$HOME/.config/nvim/pack/bundle/start
mkdir -p $BUNDLE
git clone --depth 1 https://github.com/wincent/command-t $BUNDLE/command-t
echo "require('wincent.commandt').setup()" > ~/.config/nvim/init.lua
(cd $BUNDLE/command-t/lua/wincent/commandt/lib && make)
# Also install any other plug-ins that might be needed to reproduce a problem; eg:
git clone --depth 1 https://github.com/jiangmiao/auto-pairs $BUNDLE/auto-pairs
For reproducing reports like this one.
BUNDLE=$HOME/.config/nvim/pack/bundle/start
mkdir -p $BUNDLE
git clone --depth 1 https://github.com/wbthomason/packer.nvim $BUNDLE/packer.nvim
Then, in ~/.config/nvim/init.lua
:
require('packer').startup(function(use)
use {
'wincent/command-t',
run = 'cd lua/wincent/commandt/lib && make',
setup = function ()
vim.g.CommandTPreferredImplementation = 'lua'
end,
config = function()
require('wincent.commandt').setup()
end,
}
end)
and run :PackerInstall
.
exit
vagrant halt
vagrant destroy