Skip to content
New issue

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

Add diff to treesitter's ensure_installed languages #908

Merged

Conversation

rmacklin
Copy link
Contributor

@rmacklin rmacklin commented May 6, 2024

This enables highlighted diffs when running git commit --verbose.

I think this is a good default for kickstart.nvim since most developers use git regardless of what programming language they normally work in (and we already install gitsigns). This avoids the need for users to manually run :TSInstall diff as stated in #237 (comment).

Before:

image

After:

image

This enables highlighted diffs when running `git commit --verbose`.
@feoh feoh merged commit f86f18f into nvim-lua:master May 6, 2024
1 check passed
@rmacklin rmacklin deleted the add-diff-to-ensure_installed-languages branch May 6, 2024 03:19
ross-paypay added a commit to ranger-ross/kickstart.nvim that referenced this pull request May 6, 2024
* Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)

Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.

* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* Added github copilot

* Added Java plugin

* custom plugins

* Just pushing it

* Just pushing it

---------

Co-authored-by: Damjan 9000 <damjan.9000@gmail.com>
Co-authored-by: Richard Macklin <1863540+rmacklin@users.noreply.github.com>
valerius21 added a commit to valerius21/kickstart.nvim that referenced this pull request May 6, 2024
Add diff to treesitter's ensure_installed languages (nvim-lua#908)
Gibsonguy911 added a commit to Gibsonguy911/kickstart.nvim that referenced this pull request May 6, 2024
Add diff to treesitter's ensure_installed languages (nvim-lua#908)
ZaneFerns360 added a commit to ZaneFerns360/kickstart.nvim that referenced this pull request May 7, 2024
Add diff to treesitter's ensure_installed languages (nvim-lua#908)
componhead pushed a commit to componhead/kickstart.nvim that referenced this pull request May 7, 2024
feoh pushed a commit to feoh/kickstart.nvim that referenced this pull request May 11, 2024
gcaufield added a commit to gcaufield/kickstart.nvim that referenced this pull request May 16, 2024
* upstream/master: (46 commits)
  Automatically set detached state as needed. (nvim-lua#925)
  fix: debug.lua (nvim-lua#918)
  Add diff to treesitter's ensure_installed languages (nvim-lua#908)
  Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)
  README: add clipboard tool dependency (nvim-lua#886)
  Update README.md (nvim-lua#875)
  fix: highlight group clear on each attach (nvim-lua#874)
  Fix highlight errors when lsp crash or stop (nvim-lua#864)
  Fix deprecation notice of inlay hints (nvim-lua#873)
  Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868)
  Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869)
  Update README.md (nvim-lua#860)
  fix: restore Mason config timing for DAP startup (again) (nvim-lua#865)
  Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858)
  Move plugin examples from README to optional plugin files (nvim-lua#831)
  Enable inlay hints for the supporting servers (nvim-lua#843)
  Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856)
  Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854)
  Arch, btw (nvim-lua#852)
  Update README (nvim-lua#832)
  Add a pull request template (nvim-lua#825)
  README: move backup and paths from external deps to install section (nvim-lua#819)
  Don't lazy load conform plugin (nvim-lua#818)
  Add a keymap space-f to format buffer using conform (nvim-lua#817)
  Add instructions to quit :lazy. Fixes nvim-lua#761
  fix nvim-lua#799 (nvim-lua#800)
  README: wrap long lines (nvim-lua#784)
  Update README.md (nvim-lua#781)
  Add nvim-nio as dependency for nvim-dap-ui (nvim-lua#774)
  Some suggestions and capitalised a few words (nvim-lua#771)
  ...

 > **NOTE**
dmaspataud pushed a commit to dmaspataud/kickstart.nvim that referenced this pull request May 18, 2024
EdwinStep pushed a commit to EdwinStep/nvim that referenced this pull request May 20, 2024
dvessel pushed a commit to dvessel/kickstart.nvim that referenced this pull request May 21, 2024
umairraza96 added a commit to umairraza96/kickstart.nvim that referenced this pull request May 24, 2024
* Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)

Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.

* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* fix: debug.lua (nvim-lua#918)

* Automatically set detached state as needed. (nvim-lua#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.

---------

Co-authored-by: Damjan 9000 <damjan.9000@gmail.com>
Co-authored-by: Richard Macklin <1863540+rmacklin@users.noreply.github.com>
Co-authored-by: Smig <89040888+smiggiddy@users.noreply.github.com>
Co-authored-by: Per Malmberg <PerMalmberg@users.noreply.github.com>
darren-omori pushed a commit to darren-omori/kickstart.nvim that referenced this pull request May 24, 2024
eunmann pushed a commit to eunmann/kickstart.nvim that referenced this pull request Jun 19, 2024
johnlonganecker pushed a commit to johnlonganecker/kickstart.nvim that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants