Skip to content

Commit e94f3a0

Browse files
authored
feat: create extmarks in a named namespace
This way, the extmarks can be filtered for the purposes of plugins like statuscol.nvim.
1 parent 6356f7f commit e94f3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/vgit/ui/Extmark.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function Extmark:constructor(bufnr)
1111
sign = 100,
1212
lnum = 1000,
1313
},
14-
ns_id = vim.api.nvim_create_namespace(''),
14+
ns_id = vim.api.nvim_create_namespace('vgit.extmarks'),
1515
}
1616
end
1717

0 commit comments

Comments
 (0)