Reformat all file / Add md peview + ansiblels

This commit is contained in:
Alessandro
2024-10-18 11:10:45 +02:00
parent 36a747e4a1
commit e264fcba6a
8 changed files with 60 additions and 40 deletions

View File

@@ -3,18 +3,18 @@ return {
tag = "stable",
event = { "BufRead Cargo.toml" },
opts = {
lsp = {
enabled = true,
actions = true,
completion = true,
hover = true,
},
completion = {
crates = {
enabled = true,
max_results = 10,
min_chars = 3,
},
}
}
lsp = {
enabled = true,
actions = true,
completion = true,
hover = true,
},
completion = {
crates = {
enabled = true,
max_results = 10,
min_chars = 3,
},
}
}
}

View File

@@ -0,0 +1,9 @@
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = "cd app && yarn install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
}

View File

@@ -1,10 +1,10 @@
return {
"kevinhwang91/nvim-ufo",
opts = {
provider_selector = function(_, _, _)
return { "treesitter", "indent" }
end,
},
provider_selector = function(_, _, _)
return { "treesitter", "indent" }
end,
},
lazy = false,
dependencies = { "kevinhwang91/promise-async" },
}