🚀 perf(nvim): playground now loads on key load
This commit is contained in:
parent
76e94d7904
commit
492756eef6
1 changed files with 12 additions and 12 deletions
|
@ -1,19 +1,19 @@
|
||||||
if vim.fn.has("nvim-0.10") == 1 then
|
if vim.fn.has("nvim-0.10") == 1 then
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/playground",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-treesitter/playground",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
},
|
build = ":TSInstall query",
|
||||||
build = ":TSInstall query",
|
opts = {
|
||||||
opts = {
|
playground = {
|
||||||
playground = {
|
enable = true,
|
||||||
enable = true,
|
},
|
||||||
},
|
query_linter = {
|
||||||
query_linter = {
|
enable = true,
|
||||||
enable = true,
|
use_virtual_text = true,
|
||||||
use_virtual_text = true,
|
lint_events = { "BufWrite", "CursorHold" },
|
||||||
lint_events = { "BufWrite", "CursorHold" },
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue