add support for nim to comment plugin

This commit is contained in:
Daylin Morgan 2025-01-26 14:06:53 -06:00
parent 3d94779c7a
commit 948d513572
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -6,9 +6,9 @@ return {
colorscheme = "catppuccin",
},
},
{
"folke/noice.nvim",
},
-- {
-- "folke/noice.nvim",
-- },
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
@ -60,8 +60,16 @@ return {
-- see lua/config/autocmds for a possible solution that includes more files
condition = function(ctx)
return vim.fs.find({ ".cspell.config.yaml" }, { path = ctx.filename, upward = true })[1]
end
}
end,
},
},
},
},
{
"folke/ts-comments.nvim",
opts = {
lang = {
nim = "# %s",
},
},
},