summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorZofia Szweda <sophies@disroot.org>2026-09-08 16:21:16 +0200
committerZofia Szweda <sophies@disroot.org>2026-09-08 16:21:27 +0200
commite5c57caf4927454e1ca17dc68e522e81b04fc99f (patch)
treeb075695f3e38a0b45cbaa839821093993b69c382 /vim
parentcbe5d41992473b75f483560ed294013528c6a7b3 (diff)
xmobar: make the date & time into pure white
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc16
1 files changed, 0 insertions, 16 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 496a87f..febffac 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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