plugins/treesitter: ensure that most common parsers are installed
This commit is contained in:
parent
74f0bcaf2f
commit
d680871a34
@ -7,7 +7,7 @@ spec.dependencies = {
|
|||||||
"nvim-treesitter/nvim-treesitter-context",
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
"RRethy/nvim-treesitter-endwise",
|
"RRethy/nvim-treesitter-endwise",
|
||||||
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
|
"nushell/tree-sitter-nu",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -18,13 +18,27 @@ spec.config = function()
|
|||||||
---@diagnostic disable-next-line:missing-fields
|
---@diagnostic disable-next-line:missing-fields
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
|
-- programming languages
|
||||||
"rust",
|
"rust",
|
||||||
"lua",
|
"lua",
|
||||||
|
"ruby",
|
||||||
|
"python",
|
||||||
|
"elixir",
|
||||||
"javascript",
|
"javascript",
|
||||||
"typescript",
|
"typescript",
|
||||||
|
-- markup and config languages
|
||||||
|
"html",
|
||||||
|
"css",
|
||||||
|
"json",
|
||||||
|
"yaml",
|
||||||
|
"toml",
|
||||||
"regex",
|
"regex",
|
||||||
"markdown",
|
"markdown",
|
||||||
"markdown_inline"
|
"markdown_inline",
|
||||||
|
-- shell scripting and system configuration
|
||||||
|
"bash",
|
||||||
|
"nu",
|
||||||
|
"nix",
|
||||||
},
|
},
|
||||||
|
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user