mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-08 10:26:15 +08:00
Adds support for literate Haskell.
Since literate code has anti-comments this might be a hack, but it works well enough. :)
This commit is contained in:
parent
a346df98e7
commit
d5fed4daff
|
@ -211,6 +211,7 @@ let s:delimiterMap = {
|
||||||
\ 'lace': { 'left': '--' },
|
\ 'lace': { 'left': '--' },
|
||||||
\ 'ldif': { 'left': '#' },
|
\ 'ldif': { 'left': '#' },
|
||||||
\ 'less': { 'left': '/*','right': '*/' },
|
\ 'less': { 'left': '/*','right': '*/' },
|
||||||
|
\ 'lhaskell': { 'left': '>{-','right': '-}', 'leftAlt': '>-- ' },
|
||||||
\ 'lilo': { 'left': '#' },
|
\ 'lilo': { 'left': '#' },
|
||||||
\ 'lilypond': { 'left': '%' },
|
\ 'lilypond': { 'left': '%' },
|
||||||
\ 'liquid': { 'left': '{% comment %}', 'right': '{% endcomment %}' },
|
\ 'liquid': { 'left': '{% comment %}', 'right': '{% endcomment %}' },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user