We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my git config I change the comment char to be a ; (# is a bad default since I type a lot of markdown in my commits).
;
When I launch the commit popup I can tell that things aren't syntax highlighted correctly
Another is that if I abort the commit and try to not commit it saves my comments as the commit message.
NVIM v0.7.2 Build type: Release LuaJIT 2.1.0-beta3 Compiled by builduser
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Arch Linux 5.18 kernel
I am trying out Neogit as an alternative to fugitive. Not holding this over anyone's head just commenting that my setup works in Fugitive.
Highlighting is incorrect Closing buffer creates a commit message with comments as the message
vim.cmd([[set runtimepath=$VIMRUNTIME]]) vim.cmd([[set packpath=/tmp/nvim/site]]) local package_root = "/tmp/nvim/site/pack" local install_path = package_root .. "/packer/start/packer.nvim" local function load_plugins() require("packer").startup({ { "wbthomason/packer.nvim", { "TimUntersberger/neogit", requires = { { "nvim-lua/plenary.nvim" }, { "sindrets/diffview.nvim" }, }, config = function() print("loaded neogit") require("neogit").setup() end, }, }, config = { package_root = package_root, compile_path = install_path .. "/plugin/packer_compiled.lua", display = { non_interactive = true }, }, }) end if vim.fn.isdirectory(install_path) == 0 then print("Installing neogit and dependencies.") vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path }) end load_plugins() require("packer").sync()
The text was updated successfully, but these errors were encountered:
Here is the same workflow in fugitive
Sorry, something went wrong.
We just use the treesitter parser for gitcommit, or the gitcommit highlights that ship with git.
No branches or pull requests
Description
In my git config I change the comment char to be a
;
(# is a bad default since I type a lot of markdown in my commits).When I launch the commit popup I can tell that things aren't syntax highlighted correctly
Another is that if I abort the commit and try to not commit it saves my comments as the commit message.
Neovim version
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Operating system and version
Arch Linux 5.18 kernel
Steps to reproduce
Expected behavior
;
should highlight all the lines as commentsI am trying out Neogit as an alternative to fugitive. Not holding this over anyone's head just commenting that my setup works in Fugitive.
Actual behavior
Highlighting is incorrect
Closing buffer creates a commit message with comments as the message
Minimal config
The text was updated successfully, but these errors were encountered: