Fix some problems with the config

This commit is contained in:
2026-05-06 09:37:38 -03:00
parent 200f428b3c
commit 5720ad534e
4 changed files with 6 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ return {
diagnostics = { diagnostics = {
virtual_text = true, virtual_text = true,
underline = true, underline = true,
update_in_insert = true,
}, },
-- passed to `vim.filetype.add` -- passed to `vim.filetype.add`
filetypes = { filetypes = {

View File

@@ -92,7 +92,7 @@ return {
-- list of auto commands to set -- list of auto commands to set
{ {
-- events to trigger -- events to trigger
event = { "InsertLeave", "BufEnter" }, event = { "InsertLeave", "CursorHold", "BufEnter" },
-- the rest of the autocmd options (:h nvim_create_autocmd) -- the rest of the autocmd options (:h nvim_create_autocmd)
desc = "Refresh codelens (buffer)", desc = "Refresh codelens (buffer)",
callback = function(args) callback = function(args)

View File

@@ -79,12 +79,6 @@ return {
}, },
}, },
}, },
{
"lukas-reineke/headlines.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
ft = "markdown",
opts = {},
},
{ {
"folke/todo-comments.nvim", "folke/todo-comments.nvim",
event = "User AstroFile", event = "User AstroFile",

View File

@@ -39,7 +39,10 @@ return {
"sql", "sql",
"typescript", "typescript",
"vimdoc", "vimdoc",
"xml" "xml",
"yaml",
"latex",
"regex",
-- add more arguments for adding more treesitter parsers -- add more arguments for adding more treesitter parsers
}, },
}, },