X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/80d7db3166af66da5e42993745f6a8b9c74194d5..217ecdcf208fb4e4b94c3dcc25c57baf6b66e83e:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 068e33b..245fbf1 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -104,6 +104,8 @@ let g:haskell_enable_pattern_synonyms = 1 " to enable highlighting of `pattern` let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static` let g:haskell_backpack = 1 " to enable highlighting of backpack keywords + +let g:haskell_indent_before_where = 2 " }}} Plug 'aklt/plantuml-syntax' @@ -797,6 +799,15 @@ let g:ycm_complete_in_comments = 1 let g:ycm_complete_in_strings = 1 let g:ycm_autoclose_preview_window_after_insertion = 0 +let g:ycm_language_server = + \ [ + \ { + \ 'name': 'haskell', + \ 'cmdline': [ 'haskell-language-server-wrapper', '--lsp' ], + \ 'filetypes': [ 'haskell', 'lhaskell' ] + \ }, + \ ] + " vim-easy-align {{{2 " start interactive EasyAlign in visual mode vmap (EasyAlign)