Simplified existing code

This commit is contained in:
Colin Kennedy 2023-05-02 22:10:30 -07:00
parent 0017d38f58
commit 249e78fe4c
2 changed files with 0 additions and 17 deletions

View file

@ -316,13 +316,6 @@ M.typescript = {
end,
}
M.usd = {
postprocess = function(bufnr, item, match)
item.name = item.name:gsub("^\"", "")
item.name = item.name:gsub("\"$", "")
end
}
M.latex = {
postprocess = function(bufnr, item, match)
local type_node = (utils.get_at_path(match, "type") or {}).node

View file

@ -1,15 +1,5 @@
; (prim_definition
; (string) @name
; (#match? @name "\"([a-zA-Z0-9]+)\"")
; (#set! "kind" "Class")
; ) @type
(prim_definition
(string) @name
(#offset! @name 0 1 0 -1)
(#set! "kind" "Class")
) @type
; ((identifier) @constant (#offset! @constant 0 1 0 -1))
; (
; (identifier) @constant
; (#match? @constant "^[A-Z][A-Z_]+")
; )