mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
feat(lsp): use treesitter for stylize markdown
This commit is contained in:
committed by
Lewis Russell
parent
c5abf487f1
commit
cfd4a9dfaf
@@ -92,3 +92,11 @@
|
||||
"]"
|
||||
] @conceal
|
||||
(#set! conceal ""))
|
||||
|
||||
;; Replace common HTML entities.
|
||||
((entity_reference) @conceal (#eq? @conceal " ") (#set! conceal ""))
|
||||
((entity_reference) @conceal (#eq? @conceal "<") (#set! conceal "<"))
|
||||
((entity_reference) @conceal (#eq? @conceal ">") (#set! conceal ">"))
|
||||
((entity_reference) @conceal (#eq? @conceal "&") (#set! conceal "&"))
|
||||
((entity_reference) @conceal (#eq? @conceal """) (#set! conceal "\""))
|
||||
((entity_reference) @conceal (#any-of? @conceal " " " ") (#set! conceal " "))
|
||||
|
||||
Reference in New Issue
Block a user