mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] disable the custom folding algorithm for Haskell
This commit is contained in:
parent
f24c8e5131
commit
e93033fd69
4 changed files with 9 additions and 2 deletions
3
nvim/after/ftplugin/haskell.vim
Normal file
3
nvim/after/ftplugin/haskell.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
let g:haskall_test = 1
|
||||
setlocal foldmethod<
|
||||
setlocal foldtext<
|
2
nvim/after/syntax/cabal.vim
Normal file
2
nvim/after/syntax/cabal.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
setlocal foldmethod<
|
||||
setlocal foldtext<
|
2
nvim/after/syntax/cabalconfig.vim
Normal file
2
nvim/after/syntax/cabalconfig.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
setlocal foldmethod<
|
||||
setlocal foldtext<
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue