Fix some problems with the config
This commit is contained in:
@@ -23,6 +23,7 @@ return {
|
||||
diagnostics = {
|
||||
virtual_text = true,
|
||||
underline = true,
|
||||
update_in_insert = true,
|
||||
},
|
||||
-- passed to `vim.filetype.add`
|
||||
filetypes = {
|
||||
|
||||
@@ -92,7 +92,7 @@ return {
|
||||
-- list of auto commands to set
|
||||
{
|
||||
-- events to trigger
|
||||
event = { "InsertLeave", "BufEnter" },
|
||||
event = { "InsertLeave", "CursorHold", "BufEnter" },
|
||||
-- the rest of the autocmd options (:h nvim_create_autocmd)
|
||||
desc = "Refresh codelens (buffer)",
|
||||
callback = function(args)
|
||||
|
||||
@@ -79,12 +79,6 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"lukas-reineke/headlines.nvim",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
ft = "markdown",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
event = "User AstroFile",
|
||||
|
||||
@@ -39,7 +39,10 @@ return {
|
||||
"sql",
|
||||
"typescript",
|
||||
"vimdoc",
|
||||
"xml"
|
||||
"xml",
|
||||
"yaml",
|
||||
"latex",
|
||||
"regex",
|
||||
-- add more arguments for adding more treesitter parsers
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user