mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-09-27 12:38:58 +02:00
mzte-nv: update catppuccin configuration
This commit is contained in:
parent
60650dd6af
commit
5774d8a102
2 changed files with 25 additions and 8 deletions
|
@ -5,19 +5,36 @@
|
|||
(local flavour :mocha)
|
||||
|
||||
(catppuccin.setup {: flavour
|
||||
:term_colors true
|
||||
:dim_inactive {:enabled true}
|
||||
;; Enable all relevant integrations
|
||||
:default_integrations false
|
||||
:integrations {:aerial true
|
||||
:cmp true
|
||||
:dap {:enabled true :enable_ui true}
|
||||
:dap true
|
||||
:dap_ui true
|
||||
:gitsigns true
|
||||
:harpoon true
|
||||
:native_lsp {:enabled true}
|
||||
:markdown true
|
||||
:native_lsp {:enabled true
|
||||
:virtual_text (collect [_ diag (ipairs [:errors
|
||||
:hints
|
||||
:warnings
|
||||
:information])]
|
||||
(values diag
|
||||
[:italic]))
|
||||
:underlines (collect [_ diag (ipairs [:errors
|
||||
:hints
|
||||
:warnings
|
||||
:information])]
|
||||
(values diag
|
||||
[:underline]))
|
||||
:inlay_hints {:background true}}
|
||||
:neogit true
|
||||
:noice true
|
||||
:notify true
|
||||
:nvimtree true
|
||||
:rainbow_delimiters true
|
||||
:telescope true
|
||||
:semantic_tokens true
|
||||
:telescope {:enabled true}
|
||||
:treesitter true
|
||||
:treesitter_context true}})
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
(let [path mztenv.reg.nvim_plugins]
|
||||
(when path
|
||||
(vim.opt.runtimepath:prepend (.. path "/*"))
|
||||
(vim.opt.runtimepath:append (.. path "/*/after"))))
|
||||
(vim.opt.runtimepath:append (.. path :/*/after))))
|
||||
|
||||
;; Plugins to load before nvim finishes startup
|
||||
(local startup-plugins [])
|
||||
|
@ -41,7 +41,7 @@
|
|||
(fn load-plugin [plugin]
|
||||
(let [(success ret) (pcall require (.. :pluginconf/p- plugin))]
|
||||
(when (not success)
|
||||
(tset errors p ret))))
|
||||
(tset errors plugin ret))))
|
||||
|
||||
(each [_ p (ipairs startup-plugins)]
|
||||
(load-plugin p))
|
||||
|
@ -55,7 +55,7 @@
|
|||
(do
|
||||
(when (next errors)
|
||||
(vim.notify (accumulate [text "Errors loading plugin configs:\n" plugin err (pairs errors)]
|
||||
(.. text " - " plugin ": " err))
|
||||
(.. text " - " plugin ": " err "\n"))
|
||||
vim.log.levels.error))
|
||||
(each [_ cb (ipairs mztenv.reg.plugin_load_callbacks)]
|
||||
(pcall cb))))))
|
||||
|
|
Loading…
Reference in a new issue