♻️ refactor: remove autogroup to fix nvim-lint not running after file changes

This commit is contained in:
sankalp committed 2025-07-25 14:57:52 +05:45
1 parent ce21f2821c
commit 41110a74c8
2 files changed
-38

No files matched your search

-1
View File
@@ -37,7 +37,6 @@ lint()
local timer = assert(vim.uv.new_timer())
vim.api.nvim_create_autocmd({ 'BufReadPost', 'BufWritePost', 'InsertLeave' }, {
group = require('dotfyls.interop').group,
callback = function(args)
timer:start(100, 0, function()
timer:stop()
-37
View File
@@ -1,37 +0,0 @@
local markit = require('markit')
local icons = require('lib.icons')
markit.setup({
default_mappings = true,
builtin_marks = { '.', '<', '>', '^' },
cyclic = true,
force_write_shada = false,
sign_priority = { lower = 10, upper = 15, builtin = 8, bookmark = 20 },
excluded_filetypes = {},
excluded_buftypes = { 'nofile' },
-- supports up to 10 bookmark groups
bookmark_1 = {
sign = icons.ui.Flag,
virt_text = 'flag',
annotate = false,
},
bookmark_2 = {
sign = icons.ui.Eye,
virt_text = 'watch',
annotate = false,
},
bookmark_3 = {
sign = icons.ui.Star,
virt_text = 'star',
annotate = false,
},
bookmark_4 = {
sign = icons.ui.Bug,
virt_text = 'bug',
annotate = false,
},
mappings = {
set = 'M',
toggle_mark = 'm',
},
})