commit 68337b2279add1096c8bbad51b11b75d7863c429
parent 117cc2fd51eb14ed31922a604f531847ea0988fe
Author: Tomas Nemec <nemi@skaut.cz>
Date: Wed, 31 Aug 2022 08:11:31 +0200
update
Diffstat:
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/after/plugin/sidebar.lua b/after/plugin/sidebar.lua
@@ -3,12 +3,16 @@ if not pcall(require, 'sidebar-nvim') then
end
local files = require('tms.p.sidebar.files')
-local gitlab = require('tms.p.sidebar.gitlab')
+-- local gitlab = require('tms.p.sidebar.gitlab')
require('sidebar-nvim').setup({
initial_width = 40,
hide_statusline = true,
- sections = { files.section, 'diagnostics', gitlab.section },
+ sections = {
+ files.section,
+ 'diagnostics',
+ --[[ , gitlab.section ]]
+ },
disable_closing_prompt = true,
})
diff --git a/after/queries/html/injections.scm b/after/queries/html/injections.scm
@@ -0,0 +1,15 @@
+(attribute
+ [
+ ((attribute_name) @_builtin (#any-of? @_builtin
+ "*ngIf"
+ "*ngSwitch"
+ "*ngModel"
+ "*ngDisabled"
+ ))
+ ((attribute_name) @_input (#lua-match? @_input "%[.+]"))
+ ((attribute_name) @_output (#lua-match? @_output "%(.+%)"))
+ ((attribute_name) @_banana (#lua-match? @_banana "%[%(.+%)]"))
+ ]
+ (quoted_attribute_value
+ (attribute_value) @dart)
+ )