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