mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +00:00
cleanup config
This commit is contained in:
parent
957a317106
commit
751876015c
3 changed files with 35 additions and 24 deletions
|
@ -37,6 +37,10 @@
|
||||||
</if-else>
|
</if-else>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{{EWW_CORES}} {{EWW_RAM}} {{EWW_DISK}} {{EWW_BATTERY}} {{EWW_CPU]}} {{EWW_NET_UP}} {{EWW_NET_DOWN}}
|
||||||
|
|
||||||
|
|
||||||
<scale value="50" orientation="v" min="0" max="100" flipped="true" />
|
<scale value="50" orientation="v" min="0" max="100" flipped="true" />
|
||||||
|
|
||||||
<button onclick="pgrep 'eww' && echo '' || echo ''">Test bug</button>
|
<button onclick="pgrep 'eww' && echo '' || echo ''">Test bug</button>
|
||||||
|
|
|
@ -40,17 +40,17 @@
|
||||||
:duplicate_visible visible
|
:duplicate_visible visible
|
||||||
:duplicate_selected selected
|
:duplicate_selected selected
|
||||||
|
|
||||||
:diagnostic {:guibg colors.dark1 :guifg colors.neutral_red}
|
:diagnostic { :gui "" :guibg colors.dark1 :guifg colors.neutral_red}
|
||||||
:diagnostic_visible {:guibg colors.dark1 :guifg colors.neutral_red}
|
:diagnostic_visible { :gui "" :guibg colors.dark1 :guifg colors.neutral_red}
|
||||||
:diagnostic_selected {:guibg colors.neutral_aqua :guifg colors.faded_red}
|
:diagnostic_selected { :gui "" :guibg colors.neutral_aqua :guifg colors.faded_red}
|
||||||
|
|
||||||
:info_diagnostic {:guibg "blue" :guifg colors.neutral_yellow}
|
:info_diagnostic { :gui "" :guibg "blue" :guifg colors.neutral_yellow}
|
||||||
:info_diagnostic_visible {:guibg "blue" :guifg colors.neutral_yellow}
|
:info_diagnostic_visible { :gui "" :guibg "blue" :guifg colors.neutral_yellow}
|
||||||
:info_diagnostic_selected {:guibg "blue" :guifg colors.faded_yellow}
|
:info_diagnostic_selected { :gui "" :guibg "blue" :guifg colors.faded_yellow}
|
||||||
|
|
||||||
:warning_diagnostic {:guibg colors.dark1 :guifg colors.neutral_yellow}
|
:warning_diagnostic { :gui "" :guibg colors.dark1 :guifg colors.neutral_yellow}
|
||||||
:warning_diagnostic_visible {:guibg colors.dark1 :guifg colors.neutral_yellow}
|
:warning_diagnostic_visible { :gui "" :guibg colors.dark1 :guifg colors.neutral_yellow}
|
||||||
:warning_diagnostic_selected {:guibg colors.neutral_aqua :guifg colors.faded_yellow}
|
:warning_diagnostic_selected { :gui "" :guibg colors.neutral_aqua :guifg colors.faded_yellow}
|
||||||
|
|
||||||
:separator visible
|
:separator visible
|
||||||
:indicator_selected {:guibg colors.neutral_aqua :guifg colors.neutral_aqua}
|
:indicator_selected {:guibg colors.neutral_aqua :guifg colors.neutral_aqua}
|
||||||
|
|
|
@ -15,6 +15,11 @@
|
||||||
|
|
||||||
(local colors (utils.colors))
|
(local colors (utils.colors))
|
||||||
|
|
||||||
|
(symbols-outline.setup { :highlight_hovered_item true :show_guides true})
|
||||||
|
(set vim.o.signcolumn "yes")
|
||||||
|
|
||||||
|
; LSP config -------------------------------------------------------------------------------- {{{{{
|
||||||
|
|
||||||
(fn on_attach [client bufnr]
|
(fn on_attach [client bufnr]
|
||||||
(lsp_signature.on_attach)
|
(lsp_signature.on_attach)
|
||||||
(if client.resolved_capabilities.document_highlight
|
(if client.resolved_capabilities.document_highlight
|
||||||
|
@ -63,11 +68,9 @@
|
||||||
|
|
||||||
|
|
||||||
;(lsp.vimls.setup { :on_attach on_attach})
|
;(lsp.vimls.setup { :on_attach on_attach})
|
||||||
|
; }}}}}
|
||||||
|
|
||||||
(symbols-outline.setup { :highlight_hovered_item true :show_guides true})
|
|
||||||
|
|
||||||
|
|
||||||
|
; compe -------------------------------------------------------------------------------- {{{{{
|
||||||
(compe.setup
|
(compe.setup
|
||||||
{ :enabled true
|
{ :enabled true
|
||||||
:autocomplete false
|
:autocomplete false
|
||||||
|
@ -88,6 +91,9 @@
|
||||||
:nvim_lua true
|
:nvim_lua true
|
||||||
:vsnip false}})
|
:vsnip false}})
|
||||||
|
|
||||||
|
; }}}}}
|
||||||
|
|
||||||
|
; LSP saga -------------------------------------------------------------------------------- {{{{{
|
||||||
|
|
||||||
(saga.init_lsp_saga
|
(saga.init_lsp_saga
|
||||||
{ :border_style 1
|
{ :border_style 1
|
||||||
|
@ -109,6 +115,16 @@
|
||||||
(utils.highlight "TargetWord" {:fg colors.bright_aqua})
|
(utils.highlight "TargetWord" {:fg colors.bright_aqua})
|
||||||
|
|
||||||
|
|
||||||
|
; }}}}}
|
||||||
|
|
||||||
|
; LSP trouble -------------------------------------------------------------------------------- {{{{{
|
||||||
|
(trouble.setup
|
||||||
|
{:icons false
|
||||||
|
:auto_preview true
|
||||||
|
:auto_close true
|
||||||
|
:auto_open false})
|
||||||
|
|
||||||
|
|
||||||
(utils.highlight "LspTroubleFoldIcon" {:bg "NONE" :fg colors.bright_orange})
|
(utils.highlight "LspTroubleFoldIcon" {:bg "NONE" :fg colors.bright_orange})
|
||||||
(utils.highlight "LspTroubleCount" {:bg "NONE" :fg colors.bright_green})
|
(utils.highlight "LspTroubleCount" {:bg "NONE" :fg colors.bright_green})
|
||||||
(utils.highlight "LspTroubleText" {:bg "NONE" :fg colors.light0})
|
(utils.highlight "LspTroubleText" {:bg "NONE" :fg colors.light0})
|
||||||
|
@ -118,15 +134,6 @@
|
||||||
(utils.highlight "LspTroubleSignInformation" {:bg "NONE" :fg colors.bright_aqua})
|
(utils.highlight "LspTroubleSignInformation" {:bg "NONE" :fg colors.bright_aqua})
|
||||||
(utils.highlight "LspTroubleSignHint" {:bg "NONE" :fg colors.bright_blue})
|
(utils.highlight "LspTroubleSignHint" {:bg "NONE" :fg colors.bright_blue})
|
||||||
|
|
||||||
|
; }}}}}
|
||||||
|
|
||||||
(set vim.o.signcolumn "yes")
|
; vim:foldmarker={{{{{,}}}}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(trouble.setup
|
|
||||||
{:icons false
|
|
||||||
:auto_preview true
|
|
||||||
:auto_close true
|
|
||||||
:auto_open false})
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue