]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
weechat: add missing typing.conf
[dotfiles.git] / vim / vimrc
index b25648ed9ba61f5f465520d0ae22270cde233017..245fbf1f19716977a132a79516837eadc4291879 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -90,8 +90,6 @@ Plug 'kana/vim-operator-user'
 
 " staging
 " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
 
 " staging
 " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
-Plug 'dense-analysis/ale' " {{{2
-let g:ale_echo_msg_format = '[%linter%] %code: %%s'
 
 Plug 'git@github.com:/ram-z/vim-orgmode', { 'branch': 'dev' } " {{{2
 Plug 'vim-scripts/syntaxrange'
 
 Plug 'git@github.com:/ram-z/vim-orgmode', { 'branch': 'dev' } " {{{2
 Plug 'vim-scripts/syntaxrange'
@@ -106,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_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'
 " }}}
 
 Plug 'aklt/plantuml-syntax'
@@ -799,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_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 <Enter> <Plug>(EasyAlign)
 " vim-easy-align {{{2
 " start interactive EasyAlign in visual mode
 vmap <Enter> <Plug>(EasyAlign)