Fix some problems with the config
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user