diff --git a/nvim/after/ftplugin/haskell.vim b/nvim/after/ftplugin/haskell.vim new file mode 100644 index 0000000..bdabaed --- /dev/null +++ b/nvim/after/ftplugin/haskell.vim @@ -0,0 +1,3 @@ +let g:haskall_test = 1 +setlocal foldmethod< +setlocal foldtext< diff --git a/nvim/after/syntax/cabal.vim b/nvim/after/syntax/cabal.vim new file mode 100644 index 0000000..8ced55f --- /dev/null +++ b/nvim/after/syntax/cabal.vim @@ -0,0 +1,2 @@ +setlocal foldmethod< +setlocal foldtext< diff --git a/nvim/after/syntax/cabalconfig.vim b/nvim/after/syntax/cabalconfig.vim new file mode 100644 index 0000000..8ced55f --- /dev/null +++ b/nvim/after/syntax/cabalconfig.vim @@ -0,0 +1,2 @@ +setlocal foldmethod< +setlocal foldtext< diff --git a/nvim/after/syntax/nginx.vim b/nvim/after/syntax/nginx.vim index fb06acc..1e4e3af 100644 --- a/nvim/after/syntax/nginx.vim +++ b/nvim/after/syntax/nginx.vim @@ -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