Skip to content

Remove text objects from go#330

Merged
djensenius merged 1 commit into
mainfrom
remote-textobjects-from-go
Jun 26, 2026
Merged

Remove text objects from go#330
djensenius merged 1 commit into
mainfrom
remote-textobjects-from-go

Conversation

@djensenius

Copy link
Copy Markdown
Owner

I switched away from nvim-tree-sitter. This was producing an info message.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Neovim go.nvim plugin configuration to avoid an informational notice caused by go.nvim attempting to set up its own Tree-sitter textobjects in an environment that does not use nvim-treesitter.

Changes:

  • Disable go.nvim’s built-in textobjects integration to prevent the "nvim-treesitter module not loaded" notice.
  • Add an inline comment clarifying that textobjects are handled via nvim-treesitter-textobjects and that the setup uses arborist.nvim rather than nvim-treesitter.
Show a summary per file
File Description
nvim/lua/plugins/go.lua Disables go.nvim textobjects to avoid a spurious notice when not using nvim-treesitter.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@djensenius
djensenius merged commit bc543e4 into main Jun 26, 2026
6 checks passed
@djensenius
djensenius deleted the remote-textobjects-from-go branch June 26, 2026 13:34
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.

2 participants