diff options
| -rw-r--r-- | vim/.vimrc | 16 | ||||
| -rw-r--r-- | xmobar/.xmobarrc | 2 |
2 files changed, 1 insertions, 17 deletions
@@ -126,21 +126,5 @@ function! s:lsp_keymaps() abort endif endfunction augroup END -function! s:prettier_format() abort - if !executable('prettier') - return - endif - let l:view = winsaveview() - silent %!prettier --stdin-filepath % --html-whitespace-sensitivity=strict - if v:shell_error - silent undo - echohl ErrorMsg | echom 'formatting failed' - endif - call winrestview(l:view) -endfunction -augroup prettierformat - au! - autocmd BufWritePre *.html,*.css call s:prettier_format() -augroup END diff --git a/xmobar/.xmobarrc b/xmobar/.xmobarrc index e4fefe3..fc0e135 100644 --- a/xmobar/.xmobarrc +++ b/xmobar/.xmobarrc @@ -8,5 +8,5 @@ Config { overrideRedirect = False ] , sepChar = "%" , alignSep = "}{" - , template = "%UnsafeXMonadLog% }{ <fc=#606060>%date%</fc> " + , template = "%UnsafeXMonadLog% }{ <fc=#ffffff>%date%</fc> " } |
