vimrc(lsp): autoformat nix

This commit is contained in:
t14 2024-07-06 11:55:48 +02:00
parent 11a6beec7e
commit 301bc3ea49
Signed by: wanderer
SSH Key Fingerprint: SHA256:szgNfbjbimyesAS1xfRZ0DY3hcNv9xC9ocRCJjD4Wgg

@ -1229,7 +1229,7 @@ function! s:on_lsp_buffer_enabled() abort
let g:lsp_format_sync_timeout = 700
augroup lsp_format_sync
autocmd!
autocmd! BufWritePre *.rs,*.go,*.python call execute('LspDocumentFormatSync')
autocmd! BufWritePre *.rs,*.go,*.python,*.nix call execute('LspDocumentFormatSync')
augroup END
" refer to doc to add more commands