[nvim] disable the custom folding algorithm for Haskell

This commit is contained in:
Dmytro Meleshko 2021-03-25 01:41:24 +02:00
parent f24c8e5131
commit e93033fd69
4 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,3 @@
let g:haskall_test = 1
setlocal foldmethod<
setlocal foldtext<

View File

@ -0,0 +1,2 @@
setlocal foldmethod<
setlocal foldtext<

View File

@ -0,0 +1,2 @@
setlocal foldmethod<
setlocal foldtext<

View File

@ -4,5 +4,5 @@
" sourced in `syntax/nginx.vim` in vim-polyglot, which resets the `commentstring`
" set in `ftplugin/nginx.vim` and sets `comments` to some garbage. This script
" undoes that damage.
let &l:comments = &g:comments
let &l:commentstring = '#%s'
setlocal comments<
setlocal commentstring=#%s