Skip to content

Commit

Permalink
fix: Updated treesitter config to fix JoosepAlviste/nvim-ts-context-c…
Browse files Browse the repository at this point in the history
…ommentstring deprecation message

See JoosepAlviste/nvim-ts-context-commentstring#80 for more context
  • Loading branch information
aknackd committed Nov 21, 2023
1 parent 8bad78b commit 61282b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions neovim/.config/nvim/lua/user/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ require('nvim-treesitter.configs').setup({
},
},
},
context_commentstring = {
enable = true,
},
})

require('ts_context_commentstring').setup({
})

vim.g.skip_ts_context_commentstring_module = true

-- require('treesitter-context').setup({
-- enable = true,
-- max_lines = 0,
Expand Down

0 comments on commit 61282b9

Please sign in to comment.