Cleaning.
This commit is contained in:
parent
23b9233165
commit
f5bf6f7953
@ -1,10 +1,3 @@
|
|||||||
--local function set_theme(name)
|
|
||||||
-- local cur_theme = require('nvconfig').ui.theme
|
|
||||||
-- require("nvchad.utils").replace_word(cur_theme, name)
|
|
||||||
-- require('nvconfig').ui.theme = name
|
|
||||||
-- require('base46').load_all_highlights()
|
|
||||||
--end
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
@ -14,15 +7,6 @@ return {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- These are some examples, uncomment them if you want to see them work!
|
|
||||||
-- {
|
|
||||||
-- "neovim/nvim-lspconfig",
|
|
||||||
-- config = function()
|
|
||||||
-- require("nvchad.configs.lspconfig").defaults()
|
|
||||||
-- require "configs.lspconfig"
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = {
|
opts = {
|
||||||
@ -38,19 +22,14 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- These are some examples, uncomment them if you want to see them work!
|
||||||
-- {
|
-- {
|
||||||
-- "f-person/auto-dark-mode.nvim",
|
-- "neovim/nvim-lspconfig",
|
||||||
-- event = 'VeryLazy',
|
-- config = function()
|
||||||
-- config = {
|
-- require("nvchad.configs.lspconfig").defaults()
|
||||||
-- update_interval = 1000,
|
-- require "configs.lspconfig"
|
||||||
-- set_dark_mode = function()
|
|
||||||
-- set_theme('monekai')
|
|
||||||
-- end,
|
-- end,
|
||||||
-- set_light_mode = function()
|
-- },
|
||||||
-- set_theme('ayu_light')
|
|
||||||
-- end,
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
|
|
||||||
-- Install a plugin
|
-- Install a plugin
|
||||||
-- {
|
-- {
|
||||||
|
@ -24,7 +24,7 @@ alignment = 'left'
|
|||||||
style = 'plain'
|
style = 'plain'
|
||||||
background = 'transparent'
|
background = 'transparent'
|
||||||
foreground_templates = [
|
foreground_templates = [
|
||||||
"{{ if .Root }}196{{ end }}",
|
"{{ if .Root }}196{{ else }}246{{ end }}"
|
||||||
]
|
]
|
||||||
template = '{{ if or (.SSHSession) (.Root) }}{{ .UserName }}@{{ .HostName }} {{ end }}'
|
template = '{{ if or (.SSHSession) (.Root) }}{{ .UserName }}@{{ .HostName }} {{ end }}'
|
||||||
|
|
||||||
@ -55,16 +55,14 @@ alignment = 'left'
|
|||||||
style = 'plain'
|
style = 'plain'
|
||||||
background = 'transparent'
|
background = 'transparent'
|
||||||
foreground_templates = [
|
foreground_templates = [
|
||||||
'{{ if eq .Code 0 }}76{{ end }}',
|
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
|
||||||
'{{ if gt .Code 0 }}196{{ end }}',
|
|
||||||
]
|
]
|
||||||
template = '❯'
|
template = '❯'
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
background = 'transparent'
|
background = 'transparent'
|
||||||
foreground_templates = [
|
foreground_templates = [
|
||||||
'{{ if eq .Code 0 }}76{{ end }}',
|
'{{ if eq .Code 0 }}76{{ else }}196{{ end }}'
|
||||||
'{{ if gt .Code 0 }}196{{ end }}',
|
|
||||||
]
|
]
|
||||||
template = '❯ '
|
template = '❯ '
|
||||||
|
|
||||||
|
@ -36,11 +36,7 @@ fpath=(~/.local/git/zsh_modules/wd $fpath)
|
|||||||
|
|
||||||
# theme and colors
|
# theme and colors
|
||||||
if [[ $(command -v vivid) ]]; then
|
if [[ $(command -v vivid) ]]; then
|
||||||
if [[ "${macos_interface_style}" = "Dark" ]]; then
|
|
||||||
export LS_COLORS=$(vivid generate molokai)
|
export LS_COLORS=$(vivid generate molokai)
|
||||||
else
|
|
||||||
export LS_COLORS=$(vivid generate ayu)
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
unset LS_COLORS
|
unset LS_COLORS
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user