feat: add nvimdots

This commit is contained in:
2024-07-21 02:51:17 -04:00
parent f16942be42
commit e78c5ce3f5
149 changed files with 10623 additions and 43 deletions
+20
View File
@@ -0,0 +1,20 @@
return function()
require("modules.utils").load_plugin("paint", {
---type PaintHighlight[]
highlights = {
{
-- filter can be a table of buffer options that should match,
-- or a function called with buf as param that should return true.
-- The example below will paint @something in comments with Constant
filter = { filetype = "lua" },
pattern = "%s*%-%-%-%s*(@%w+)",
hl = "Constant",
},
{
filter = { filetype = "python" },
pattern = "%s*([_%w]+:)",
hl = "Constant",
},
},
})
end