aboutsummaryrefslogtreecommitdiff
path: root/haskell.vim
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-04-20 12:02:43 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-04-20 12:02:43 +0100
commitdbc8ca87edb1c92b6c4422c206db4415cfa1e1d2 (patch)
treec2059b73a5e943b8d0e81060621aa6b618ec15f6 /haskell.vim
parentd14d5e4dc1f352ace6e1a665558fb1bfc4d677de (diff)
downloaddotnvim-dbc8ca87edb1c92b6c4422c206db4415cfa1e1d2.tar.gz
dotnvim-dbc8ca87edb1c92b6c4422c206db4415cfa1e1d2.zip
Use format
Diffstat (limited to 'haskell.vim')
-rw-r--r--haskell.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell.vim b/haskell.vim
index b61a36e..ea9ca26 100644
--- a/haskell.vim
+++ b/haskell.vim
@@ -1,5 +1,5 @@
" haskell LSP settings
"
autocmd FileType haskell setlocal omnifunc=v:lua.vim.lsp.omnifunc
-autocmd BufWritePre *.hs :lua vim.lsp.buf.formatting_seq_sync()
+autocmd BufWritePre *.hs :lua vim.lsp.buf.format()