Compare commits

...

2 Commits

Author SHA1 Message Date
5be0bb8b83 update sway 2022-04-02 20:34:42 +02:00
3677b0d510 vim: disable highlights 2022-04-02 20:33:35 +02:00
2 changed files with 8 additions and 7 deletions

@ -7,6 +7,8 @@ define([forloop], [pushdef([$1], [$2])_forloop($@)popdef([$1])])
define([_forloop],
[$4[]ifelse($1, [$3], [], [define([$1], incr($1))$0($@)])])
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
set $mod Mod4
font pango:monospace 8
@ -171,7 +173,7 @@ seat * hide_cursor 1200
# fcitx cannot capture super+space
bindsym $mod+Space exec fcitx-remote -t
ifelse(hostname, [archachatina], [
ifelse(hostname, [flammea], [
define(bigmonitor, "BenQ Corporation BenQ LCD 58F01595SL0")
define(smallmonitor, "Dell Inc. DELL U2713HM 7JNY549C813S")
define(television, "Samsung Electric Company SAMSUNG 0x00000001")
@ -207,4 +209,3 @@ ifelse(hostname, [petalius], [
assign [[window_role="presenter"]] 1
assign [[window_role="presentation"]] 9
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK

10
vimrc

@ -217,8 +217,8 @@ lua <<EOF
vim.api.nvim_exec([[
augroup lsp_document_highlight
autocmd!
autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
" autocmd CursorHold <buffer> lua vim.lsp.buf.document_highlight()
" autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
augroup END
]], false)
end,
@ -331,9 +331,9 @@ require'osc52'
EOF
hi LspReferenceRead cterm=bold ctermbg=red guibg=#371700
hi LspReferenceText cterm=bold ctermbg=red guibg=#371700
hi LspReferenceWrite cterm=bold ctermbg=red guibg=#371700
hi LspReferenceRead cterm=bold ctermbg=red guibg=#303030
hi LspReferenceText cterm=bold ctermbg=red guibg=#303030
hi LspReferenceWrite cterm=bold ctermbg=red guibg=#303030
hi LspDiagnosticsDefaultError cterm=bold ctermfg=Red
hi LspDiagnosticsDefaultWarning cterm=bold ctermfg=Yellow
hi LspDiagnosticsDefaultInformation ctermfg=Blue