coding.ts-comments

Enhance Neovim’s native comments with treesitter context

Disable

This extra is enabled on a fresh install. Turn it off with :RafiExtras (Spacemx), or remove "coding.ts-comments" from extras in your rafi.json.

Plugins

Source
lua/rafi/extras/coding/ts-comments.lua
-- Enhance Neovim's native comments with treesitter context
local pack = require('rafi.pack')

pack.later(function()
	vim.pack.add({ 'https://github.com/folke/ts-comments.nvim' })
	require('ts-comments').setup({})
end)