add support for nim to comment plugin
This commit is contained in:
parent
3d94779c7a
commit
948d513572
1 changed files with 14 additions and 6 deletions
|
@ -6,9 +6,9 @@ return {
|
||||||
colorscheme = "catppuccin",
|
colorscheme = "catppuccin",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
-- {
|
||||||
"folke/noice.nvim",
|
-- "folke/noice.nvim",
|
||||||
},
|
-- },
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
@ -60,8 +60,16 @@ return {
|
||||||
-- see lua/config/autocmds for a possible solution that includes more files
|
-- see lua/config/autocmds for a possible solution that includes more files
|
||||||
condition = function(ctx)
|
condition = function(ctx)
|
||||||
return vim.fs.find({ ".cspell.config.yaml" }, { path = ctx.filename, upward = true })[1]
|
return vim.fs.find({ ".cspell.config.yaml" }, { path = ctx.filename, upward = true })[1]
|
||||||
end
|
end,
|
||||||
}
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"folke/ts-comments.nvim",
|
||||||
|
opts = {
|
||||||
|
lang = {
|
||||||
|
nim = "# %s",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue