From 7f1599e042d6af56d36ffa894bc3cb6aacb5c50f Mon Sep 17 00:00:00 2001 From: pegasust Date: Wed, 23 Nov 2022 17:26:22 -0700 Subject: [PATCH] nvim: treesitter-playground: copium on highlight AST analysis for potential PR and bug reports --- neovim/init.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/neovim/init.lua b/neovim/init.lua index 5203698..093147f 100644 --- a/neovim/init.lua +++ b/neovim/init.lua @@ -299,7 +299,10 @@ require('nvim-treesitter.configs').setup { "clojure", "fennel", "bash", "nix", "query", }, sync_install = false, - highlight = { enable = true }, + highlight = { + enable = true, + enable_vim_regex_highlighting = true, + }, incremental_selection = { enable = true, keymaps = { @@ -321,6 +324,10 @@ require('nvim-treesitter.configs').setup { }, }, }, + playground = { + enable = true, + disable = {} + }, -- automatically close and modify HTML and TSX tags autotag = { enable = true,