mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-17 02:42:06 +02:00
mzte-nv: update catppuccin configuration
This commit is contained in:
parent
60650dd6af
commit
5774d8a102
|
@ -5,19 +5,36 @@
|
||||||
(local flavour :mocha)
|
(local flavour :mocha)
|
||||||
|
|
||||||
(catppuccin.setup {: flavour
|
(catppuccin.setup {: flavour
|
||||||
|
:term_colors true
|
||||||
|
:dim_inactive {:enabled true}
|
||||||
;; Enable all relevant integrations
|
;; Enable all relevant integrations
|
||||||
|
:default_integrations false
|
||||||
:integrations {:aerial true
|
:integrations {:aerial true
|
||||||
:cmp true
|
:cmp true
|
||||||
:dap {:enabled true :enable_ui true}
|
:dap true
|
||||||
|
:dap_ui true
|
||||||
:gitsigns true
|
:gitsigns true
|
||||||
:harpoon 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
|
:neogit true
|
||||||
:noice true
|
|
||||||
:notify true
|
|
||||||
:nvimtree true
|
:nvimtree true
|
||||||
:rainbow_delimiters true
|
:rainbow_delimiters true
|
||||||
:telescope true
|
:semantic_tokens true
|
||||||
|
:telescope {:enabled true}
|
||||||
:treesitter true
|
:treesitter true
|
||||||
:treesitter_context true}})
|
:treesitter_context true}})
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
(let [path mztenv.reg.nvim_plugins]
|
(let [path mztenv.reg.nvim_plugins]
|
||||||
(when path
|
(when path
|
||||||
(vim.opt.runtimepath:prepend (.. 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
|
;; Plugins to load before nvim finishes startup
|
||||||
(local startup-plugins [])
|
(local startup-plugins [])
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
(fn load-plugin [plugin]
|
(fn load-plugin [plugin]
|
||||||
(let [(success ret) (pcall require (.. :pluginconf/p- plugin))]
|
(let [(success ret) (pcall require (.. :pluginconf/p- plugin))]
|
||||||
(when (not success)
|
(when (not success)
|
||||||
(tset errors p ret))))
|
(tset errors plugin ret))))
|
||||||
|
|
||||||
(each [_ p (ipairs startup-plugins)]
|
(each [_ p (ipairs startup-plugins)]
|
||||||
(load-plugin p))
|
(load-plugin p))
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
(do
|
(do
|
||||||
(when (next errors)
|
(when (next errors)
|
||||||
(vim.notify (accumulate [text "Errors loading plugin configs:\n" plugin err (pairs 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))
|
vim.log.levels.error))
|
||||||
(each [_ cb (ipairs mztenv.reg.plugin_load_callbacks)]
|
(each [_ cb (ipairs mztenv.reg.plugin_load_callbacks)]
|
||||||
(pcall cb))))))
|
(pcall cb))))))
|
||||||
|
|
Loading…
Reference in a new issue