From 301bc3ea497a92baeb2d9f628285d1f49cc4a4cf Mon Sep 17 00:00:00 2001 From: t14 Date: Sat, 6 Jul 2024 11:55:48 +0200 Subject: [PATCH] vimrc(lsp): autoformat nix --- .vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 278a993..1b2f9b8 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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