feat(nvim): add treesitter playground
This commit is contained in:
parent
4357bea3a6
commit
a391a8e23b
@ -113,6 +113,12 @@ nvim_treesitter.setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
playground = {
|
||||||
|
enable = true
|
||||||
|
},
|
||||||
|
query_linter = {
|
||||||
|
enable = true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
require("treesitter-context").setup({})
|
require("treesitter-context").setup({})
|
||||||
|
@ -92,9 +92,10 @@ lazy.setup({
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
{ url = "https://gitlab.com/HiPhish/nvim-ts-rainbow2.git" },
|
{ url = "https://gitlab.com/HiPhish/nvim-ts-rainbow2.git" },
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
"nvim-treesitter/playground",
|
||||||
"windwp/nvim-ts-autotag",
|
"windwp/nvim-ts-autotag",
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
{ "pfeiferj/nvim-hurl", opts = {} },
|
{ "pfeiferj/nvim-hurl", opts = {}, dev = true },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.treesitter")
|
require("plugins.configs.treesitter")
|
||||||
|
Loading…
Reference in New Issue
Block a user