mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-21 19:34:09 +08:00
add support for slice filetype
This commit is contained in:
parent
c5623a31e2
commit
4b0e7a8f1a
@ -869,6 +869,7 @@ to get illegal syntax when uncommenting them.
|
||||
- added support for services and gitcommit, thx to Christophe Benz
|
||||
for the email
|
||||
- added support for vimperator, thx to A Pontus for the issue
|
||||
- added support for slice, thx to Stromnov for the issue
|
||||
- set the NERDRemoveExtraSpaces option to 1 by default as the doc states
|
||||
- fixed a bug where extra spaces werent being removed sometimes, thx to
|
||||
Zhang Shuhan for the report
|
||||
|
@ -696,6 +696,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('%', '')
|
||||
elseif a:filetype == "sl"
|
||||
call s:MapDelimiters('/*','*/')
|
||||
elseif a:filetype == "slice"
|
||||
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
||||
elseif a:filetype == "slrnrc"
|
||||
call s:MapDelimiters('%', '')
|
||||
elseif a:filetype == "sm"
|
||||
|
Loading…
x
Reference in New Issue
Block a user