mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 08:13:50 +01:00
nvim: add conceals
This commit is contained in:
parent
a4e4cea9f2
commit
46bc86633d
3 changed files with 28 additions and 1 deletions
|
@ -6,7 +6,7 @@ env:
|
|||
|
||||
font:
|
||||
normal:
|
||||
family: "Iosevka Nerd Font"
|
||||
family: "Iosevka Term"
|
||||
|
||||
bell:
|
||||
duration: 20
|
||||
|
|
|
@ -20,6 +20,8 @@ wo.cursorcolumn = true
|
|||
g.neoterm_default_mod = "tab"
|
||||
g.neovide_iso_layout = true
|
||||
|
||||
o.conceallevel = 2
|
||||
|
||||
-- disable garbage providers
|
||||
g.loaded_python_provider = false
|
||||
g.loaded_python3_provider = false
|
||||
|
|
25
.config/nvim/queries/rust/highlights.scm
Normal file
25
.config/nvim/queries/rust/highlights.scm
Normal file
|
@ -0,0 +1,25 @@
|
|||
;; Keywords
|
||||
(("async" @keyword) (#set! conceal "ﰦ"))
|
||||
(("await" @keyword) (#set! conceal ""))
|
||||
(("dyn" @keyword) (#set! conceal ""))
|
||||
(("enum" @keyword) (#set! conceal ""))
|
||||
(("fn" @keyword) (#set! conceal "λ"))
|
||||
(("for" @keyword) (#set! conceal "ﳁ"))
|
||||
(("impl" @keyword) (#set! conceal ""))
|
||||
(("in" @keyword) (#set! conceal "ﲒ"))
|
||||
(("loop" @keyword) (#set! conceal "ﯩ"))
|
||||
(("match" @keyword) (#set! conceal ""))
|
||||
(("pub" @keyword) (#set! conceal ""))
|
||||
(("struct" @keyword) (#set! conceal "📦"))
|
||||
(("unsafe" @keyword) (#set! conceal "💣"))
|
||||
(("use" @keyword) (#set! conceal ""))
|
||||
(("while" @keyword) (#set! conceal "ﯩ"))
|
||||
|
||||
;; Common Variables
|
||||
(((self) @variable.builtin) (#set! conceal ""))
|
||||
|
||||
;; Operators
|
||||
(("&" @operator) (#set! conceal ""))
|
||||
(("->" @operator) (#set! conceal ""))
|
||||
(("=>" @operator) (#set! conceal "ﰲ"))
|
||||
(("?" @operator) (#set! conceal ""))
|
Loading…
Reference in a new issue