diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-08 16:21:16 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-08 16:21:27 +0200 |
| commit | e5c57caf4927454e1ca17dc68e522e81b04fc99f (patch) | |
| tree | b075695f3e38a0b45cbaa839821093993b69c382 /vim | |
| parent | cbe5d41992473b75f483560ed294013528c6a7b3 (diff) | |
xmobar: make the date & time into pure white
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/.vimrc | 16 |
1 files changed, 0 insertions, 16 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 |
