From a3a82e146799bf6810ff5e09aa8518accfd2b81d Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 22 Jul 2022 08:51:20 +0100 Subject: Back to haskell, see how it goes Autoformat may or may not be a good idea. --- haskell.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 haskell.vim (limited to 'haskell.vim') diff --git a/haskell.vim b/haskell.vim new file mode 100644 index 0000000..b61a36e --- /dev/null +++ b/haskell.vim @@ -0,0 +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() + -- cgit v1.2.3