Skip to content

Commit 9e5d5d3

Browse files
authored
fix(nvim-treesitter-context): fix outdated commands (#1538)
* fix(nvim-treesitter-context): fix outdated commands * fix(nvim-treesitter-context): fix context not being enabled by default
1 parent 67b3d09 commit 9e5d5d3

File tree

1 file changed

+3
-2
lines changed
  • lua/astrocommunity/editing-support/nvim-treesitter-context

1 file changed

+3
-2
lines changed

lua/astrocommunity/editing-support/nvim-treesitter-context/init.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
return {
33
"nvim-treesitter/nvim-treesitter-context",
44
event = "User AstroFile",
5-
cmd = { "TSContextToggle" },
5+
cmd = { "TSContext" },
6+
opts = {},
67
dependencies = {
78
"AstroNvim/astrocore",
89
---@type AstroCoreOpts
910
opts = {
1011
mappings = {
1112
n = {
1213
["<Leader>uT"] = {
13-
"<cmd>TSContextToggle<CR>",
14+
"<cmd>TSContext toggle<CR>",
1415
desc = "Toggle treesitter context",
1516
},
1617
},

0 commit comments

Comments
 (0)