feat: add nvimdots
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user