mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-05 23:29:27 +01:00
change some more nvim theming
This commit is contained in:
parent
d37b3b22b4
commit
102b662af7
4 changed files with 12 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
(local (cmp luasnip mztenv)
|
||||
(values (require :cmp) (require :luasnip) (require :mzte_nv)))
|
||||
|
||||
(local sources {:buffer " "
|
||||
(local sources {:buffer " "
|
||||
:conjure " "
|
||||
:crates " "
|
||||
:luasnip " "
|
||||
|
@ -32,7 +32,7 @@
|
|||
{:sources (cmp.config.sources [{:name :path}]
|
||||
[{:name :cmdline}])})
|
||||
|
||||
(local signs {:Error " " :Warn " " :Hint " " :Info " "})
|
||||
(local signs {:Error " " :Warn " " :Hint " " :Info " "})
|
||||
|
||||
(each [k v (pairs signs)]
|
||||
(let [hl (.. :DiagnosticSign k)]
|
||||
|
|
|
@ -17,3 +17,9 @@
|
|||
;; Shift-Enter to redirect cmdline
|
||||
(vim.keymap.set :c :<S-Enter> #(noice.redirect (vim.fn.getcmdline))
|
||||
{:desc "Redirect Cmdline"})
|
||||
|
||||
;; These default to info diagnostic colors (WTF)
|
||||
(each [_ hl (pairs [:NoiceCmdlinePopupBorder
|
||||
:NoiceCmdlineIcon
|
||||
:NoiceCmdlinePopupTitle])]
|
||||
(vim.api.nvim_set_hl 0 hl {:link :DraculaCyan}))
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
;; CPBuf command
|
||||
(vim.api.nvim_create_user_command :CPBuf mztenv.cpbuf.copyBuf {:nargs 0})
|
||||
|
||||
;; Make info diagnostics green to differentiate from hints
|
||||
(vim.api.nvim_set_hl 0 :DiagnosticInfo {:link :DraculaGreen})
|
||||
|
||||
;; Compile commands
|
||||
(let [compile-path mztenv.compile.compilePath
|
||||
make-cmd vim.api.nvim_create_user_command]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Keywords
|
||||
(("async" @keyword) (#set! conceal ""))
|
||||
(("await" @keyword) (#set! conceal ""))
|
||||
(("dyn" @keyword) (#set! conceal ""))
|
||||
(("dyn" @keyword) (#set! conceal ""))
|
||||
(("else" @keyword) (#set! conceal ""))
|
||||
(("enum" @keyword) (#set! conceal ""))
|
||||
(("fn" @keyword) (#set! conceal "λ"))
|
||||
|
|
Loading…
Reference in a new issue