update editor config

This commit is contained in:
lelgenio 2020-11-10 01:27:30 -03:00
parent e7c7636dd2
commit 2ed1d7d514
2 changed files with 9 additions and 10 deletions

View File

@ -11,7 +11,6 @@ variables:
cursor_size: 24
launcher: wofi
terminal: kitty
editor: kak
bar: waybar
bar_pos: top
font:
@ -138,6 +137,7 @@ dynvariables:
fi
color_type: test -n "$_COLOR_TYPE" && echo "$_COLOR_TYPE" || echo dark
accent_color_name: test -n "$_ACCENT_COLOR" && echo "$_ACCENT_COLOR" || echo red
editor: test -n "$EDITOR" && echo "$EDITOR" || echo nvim
blender_version: blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g'
# }}}
dotfiles: # {{{

View File

@ -238,12 +238,11 @@ hi SpellLocal guisp={{@@ n.yellow @@}} guibg=none
" Keys{{{
"
" The g is for moving between lines broken by wrap.
{%@@ set keys = {
" {%@@ set keys = {
" h": key.left,
"gj": key.down,
"gk": key.up,
" l": key.right,
} @@%}
" l": key.right, } @@%}
" Basic motion
"{%@@ for old, new in keys.items() @@%}"
@ -405,12 +404,12 @@ hi SpellLocal guisp={{@@ n.yellow @@}} guibg=none
let g:lsp_virtual_text_enabled = 1
" Colors
{%@@ set cols = {
'Error': n.red,
'Warning': n.yellow,
'Information': n.blue,
'Hint': n.cyan,
} @@%}
" {%@@ set cols = {
"Error": n.red,
"Warning": n.yellow,
"Information": n.blue,
"Hint": n.cyan, } @@%}
"{%@@ for obj, col in cols.items() @@%}"
highlight Lsp{{@@ obj @@}}Highlight gui=undercurl guisp={{@@ col @@}}
highlight Lsp{{@@ obj @@}}Text gui=bold guifg={{@@ col @@}} guibg=none