Install regex and markdown treesitter parsers
This commit is contained in:
parent
519fb4bfb6
commit
4b06ebd1d7
@ -6,10 +6,17 @@ local spec = {
|
||||
spec.event = "VeryLazy"
|
||||
|
||||
spec.opts = {
|
||||
lsp = {
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
["vim.lsp.util.stylize_markdown"] = true,
|
||||
["cmp.entry.get_documentation"] = true,
|
||||
},
|
||||
},
|
||||
presets = {
|
||||
command_palette = true,
|
||||
lsp_doc_border = true,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
spec.keys = {
|
||||
|
@ -10,7 +10,15 @@ spec.dependencies = {
|
||||
|
||||
spec.config = function()
|
||||
require("nvim-treesitter.configs").setup {
|
||||
ensure_installed = { "rust", "lua", "javascript", "typescript" },
|
||||
ensure_installed = {
|
||||
"rust",
|
||||
"lua",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"regex",
|
||||
"markdown",
|
||||
"markdown_inline"
|
||||
},
|
||||
|
||||
auto_install = true,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user