perf(nvim): playground now loads on key load

This commit is contained in:
sankalp committed 2024-03-02 21:03:37 +05:45
1 parent 3fd5fcc825
commit 51d4e96adb
2 files changed
+25 -25

No files matched your search

@@ -1,19 +1,19 @@
if vim.fn.has("nvim-0.10") == 1 then
return {
{
"nvim-treesitter/nvim-treesitter",
"nvim-treesitter/playground",
dependencies = {
"nvim-treesitter/playground",
},
build = ":TSInstall query",
opts = {
playground = {
enable = true,
},
query_linter = {
enable = true,
use_virtual_text = true,
lint_events = { "BufWrite", "CursorHold" },
"nvim-treesitter/nvim-treesitter",
build = ":TSInstall query",
opts = {
playground = {
enable = true,
},
query_linter = {
enable = true,
use_virtual_text = true,
lint_events = { "BufWrite", "CursorHold" },
},
},
},
keys = {